悉尼大学COMP5216Assignment2课业解析

题意:

在安卓平台上编写一个照相机程序,并且用户能够对照片进行编辑

解析:

1)在程序的主界面包含一个GridView显示用户手机中的所有照片,一个按钮可以进入到拍照的界面。

2)应用程序的相机接口应该自己实现,拍照界面应该包含:快门按钮、拍下照片被引导到ImageView预览最新拍的照片、退出预览返回GridView、拍下的照片应该保存至本地。

3)在编辑方面需要能支持照片的裁剪、灰度化等功能。

涉及知识点:

图片处理,安卓

更多可加味❤讨论

WEI❤号:lovexc60

pdf

COMP5216 Mobile Computing 2019S2

School of Computer Science Page 1 of 2

Assignment 2 – Develop a camera app

Total: 5 marks

Due date: submit all project files as one zipped file by 7pm Week 08 and

demo in Week 08 lab

Camera is one of the most frequently used sensors on an Android device. In

this assignment, you are required to write an app that enables the user to

take a picture, display it, and then enables user to edit it.

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 view

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 view

should 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 the

newly captured photo

• A button to quit the photo preview (ImageView) and navigate back to

the main view (GridView)

• The photo should be saved locally, and the saved photo should appear

on the main view (GridView)

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 should

contain [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 action

COMP5216 Mobile Computing LabW02

School of Computer Science Page 2 of 2

App should be able to be built and run successfully on emulator [0.5 mark]

Coding [1.5 marks]:

• [1 mark] Follow the official Android code style guidelines

(https://source.android.com/setup/contribute/code-style), proper

indentation, stick within the 120 char line length, no trailing whitespaces

and no unused imports

• [0.5 mark] Documentation: use proper in-line code commenting, and

Javadoc comments for new public classes, methods, variables and

constants​​​​

你可能感兴趣的:(android)