Skip to main content
留学咨询

悉尼大学COMP5216Assignment2课业解析

By May 15, 2020No Comments

题意:在安卓平台上编写一个照相机程序,并且用户能够对照片进行编辑 
解析:1)在程序的主界面包含一个GridView显示用户手机中的所有照片,一个按钮可以进入到拍照的界面。2)应用程序的相机接口应该自己实现,拍照界面应该包含:快门按钮、拍下照片被引导到ImageView预览最新拍的照片、退出预览返回GridView、拍下的照片应该保存至本地。3)在编辑方面需要能支持照片的裁剪、灰度化等功能。  涉及知识点:图片处理,安卓更多可加微信讨论微信号:IT_51zuoyejunpdf
COMP5216 Mobile Computing 2019S2School of Computer Science Page 1 of 2Assignment 2 – Develop a camera appTotal: 5 marksDue date: submit all project files as one zipped file by 7pm Week 08 anddemo in Week 08 labCamera is one of the most frequently used sensors on an Android device. Inthis assignment, you are required to write an app that enables the user totake a picture, display it, and then enables user to edit it.1) The Main view of this app should contain [0.5 mark]:• A GridView to display all photos stored on the user mobile• A button to activate the camera which takes user to the camera view2) Your app should be able to capture photo, preview and store it locally.Please note you must implement your own camera view (camera interface)instead of using your device’s built-in camera support. This camera viewshould contain [1 mark]:• A button to capture a photo on your own customised camera view• Once a photo is captured, user is taken to an ImageView to preview thenewly captured photo• A button to quit the photo preview (ImageView) and navigate back tothe main view (GridView)• The photo should be saved locally, and the saved photo should appearon the main view (GridView)3) Your app should also be able to edit the captured photos e.g. cropping,greying, etc. When user selects one photo from the main view (GridView),the app should navigate to a new Image Display View. This view shouldcontain [1.5 marks]:• An ImageView to display the selected photo• A button to quit this Image Display View and go back to the main view(GridView)• One or more buttons to edit the selected photo e.g. cropping, greying• A button to undo the last edit actionCOMP5216 Mobile Computing LabW02School of Computer Science Page 2 of 24) App should be able to be built and run successfully on emulator [0.5 mark]5) Coding [1.5 marks]:• [1 mark] Follow the official Android code style guidelines(https://source.android.com/setup/contribute/code-style), properindentation, stick within the 120 char line length, no trailing whitespacesand no unused imports• [0.5 mark] Documentation: use proper in-line code commenting, andJavadoc comments for new public classes, methods, variables andconstants  

admin

Author admin

More posts by admin