- Submit all project files as one zipped file.
- A one-page document explaining the cloud synchronisation strategies.
- Record a demo of your project and upload on Canvas. You will demonstrate your app to your tutor during the tutorial time.
Camera and Location are two of the most commonly used sensors on Android devices. In this assignment, you are required to develop an app that allows users to capture photos and videos, which are then automatically uploaded to Google’s Firebase cloud server for backup. Your app should include the following features:
- Media Capture [1 mark] Your app must utilize the built-in camera to capture photos and videos. Once captured, the media files should be stored locally on the device.
- Location Tagging [0.5 mark] The app must record the device's location at the time each photo or video is taken. This location data should be associated with the corresponding media file.
- Automated Cloud Backup [2.5 marks] • Your app should automatically back up photos and videos to Google’s Firebase cloud server without requiring user interaction. [1.5 mark] • Considerations: The design should take into account device bandwidth and energy consumption. A one-page document should be submitted that explains (i) the strategies developed for both automated and user-driven synchronization, and (ii) how bandwidth and energy efficiency are achieved. [1 mark]
- Cloud Organization [0.25 mark] Photos and videos uploaded to the Firebase server should be organized by city.
- Demonstration • Demonstrate that the app can be built and run successfully on an emulator. This version of the should be submitted to Canvas. [0.5 marks] • Ensure the code complies with the official Android Java code style guidelines. This includes proper indentation, a maximum of 100 characters per line, no trailing whitespaces, and no unused imports. [0.25 mark]
Marks for the successful implementation of each feature will consider how well you demonstrate the feature and answer questions from the assessor about your development process.
课程名称:COMP5216 Mobile Computing 所属学期:2024 S2 作业名称:开发一个媒体录制应用 总分:5 分 截止日期:2024 年 9 月 16 日下午 5 点 提交要求:
- 将所有项目文件打包为一个压缩文件提交。
- 提交一份一页的文档,解释云同步策略。
- 录制项目演示并上传至 Canvas。在辅导时间向导师演示你的应用。
任务描述: 相机和定位是 Android 设备上最常用的两个传感器。在本次作业中,你需要开发一个应用,允许用户拍摄照片和视频,并自动将其上传到 Google 的 Firebase 云服务器进行备份。你的应用应包括以下功能:
- 媒体捕获 [1 分]
- 应用必须使用内置相机捕获照片和视频。捕获后,媒体文件应本地存储在设备上。
- 位置标记 [0.5 分]
- 应用必须记录拍摄每张照片或视频时设备的位置。此位置数据应与相应的媒体文件相关联。
- 自动云备份 [2.5 分]
- 应用应自动将照片和视频备份到 Google 的 Firebase 云服务器,无需用户交互。 [1.5 分]
- 考虑因素:设计应考虑设备带宽和能源消耗。应提交一份一页的文档,解释(i)为自动和用户驱动同步开发的策略,以及(ii)如何实现带宽和能源效率。 [1 分]
- 云组织 [0.25 分]
- 上传到 Firebase 服务器的照片和视频应按城市进行组织。
演示要求:
- 证明应用可以在模拟器上成功构建和运行。此版本应提交至 Canvas。 [0.5 分]
- 确保代码符合官方 Android Java 代码风格指南。这包括正确的缩进、每行最多 100 个字符、没有尾随空格和未使用的导入。 [0.25 分]
注意: 每个功能的成功实现得分将考虑你对该功能的演示效果以及回答评估者关于你开发过程的问题的能力。# COMP5216 Mobile Computing A2