COMP3013 Mobile Applications Development
Spring 2024
Assignment 1
MenUWS
Due: 8th
September 2024
(Students must demonstrate their assignments at the tutorial time in week 9).
Assignment Details
For this assignment, you are required to create a simple food ordering system as an Android App.
The app Menulog should serve as a guide to how these sorts of apps typically work. It is suggested
you download this app and experiment with it. There should be a login screen and options such as
restaurants, food items and orders. The app should include a home screen that includes one or more
decorative images and options as above (e.g. button, menu items, tabs etc.) The App has three main
functions aside from the home screen:
1. Allow user to view restaurants and their food items, typically this shows popular cuisines
2. Allow user to create, view and modify orders from the restaurants and food items
3. Provide an admin section where an admin user can login and create the restaurant and food items.
In function 3 above, the creation of restaurant and food items is effectively an administrator only
screen which would not normally be part of a user-only app. For the purposes of this assignment
the details of the restaurants, food dishes and orders should be stored in a ‘database’, such as
SQLite database. For a basic pass, list or file structure is acceptable. Please refer to the marking
guide to for more details.
In particular, the App should:
Pass level (up to 64%):
1. Provide the main interface and corresponding actions where user can select an option from
buttons or other controls including
o Add a new restaurant record. The information includes: Id (unique number for each item),
name, style of food (eg. Thai, Chinese, Australian, Italian, etc), location, minimum order charge
and image (image is optional, can be left blank).
o Edit a restaurant record. The user can select a item from the list. The program will display all
details of the restaurant in the corresponding fields where the information can be edited. The
page should also include an option to delete the current record in addition to the edit option.
o View restaurant records as a list in the main part of the app for ordering.
2. As above for food/dish items.
o Add a new food item. The item record includes details such as id, dish name, restaurant,
main ingredients, price, and image (image is optional, can be left blank). o Edit a food record: the user can select an item from the list. The program will display all
details of the item in the corresponding fields where the information can be edited. The page
should also include an option to delete the current record in addition to the edit option.
o View food records as a list in the main part of the app for ordering.
3. Provide the main interface and implemented actions where the user can select an option from
the buttons/menus for manipulating orders including
o Make an order. The order record includes details such as order number (like id), restaurant,
dishes, total price and address. For a pass, the order details can be manually entered by
the user like restaurant name, dishes, address and the total price can be left empty. To gain
more marks, the restaurant and dishes option should be queried from the database. See the
descriptions in the higher grades section.
o View the orders and confirm when finished to lodge the order.
- Be able to return to the home page or the previous page.
- Provide an acceptable quality user interface - Are the screens easy to use? Are they laid out
neatly?
Do they look good?
- For a pass it is not necessary to store data in an SQLite database.
- It is not required to have scrolling or restoring of states such as list positions.
- Images of restaurants and foods items are not required.
- Code may not be well commented, named or well laid out.
Higher grades eg. Credit level (up to 74%), Distinction (up to 84%), High Distinction:
Include all required functions of the pass level, plus
- Store at least one of restaurant or food or order data using an SQLite database 5%
- Use of multiple tables in SQLite & storing previous orders 3%
- When making an order, the app provides the user the ability to select a restaurant from
a list of restaurants then choose one or more dishes from the list of dishes available in
the selected restaurant. The total price for the order is calculated accordingly and
displayed on the form. 5%
- Edit an order. The program will display all details of the item in the corresponding fields
where the information can be edited. The page should also include an option to delete the
current record in addition to the edit option. 4%
- Login and logout facilities for customers and admins (usernames and passwords can be
hardcoded). 3%
- Bottom navigation app using fragments. 5%
- Associate hardcoded images with food items (or restaurant) 3% OR
- Taking of photos or use Gallery & associating them with food items (or restaurant) 5%
- Good documentation, comments, naming, etc. 3%
- Overall presentation, ease of use, good graphics 3%
Deliverable
You are only allowed to use Android Studio to code your solution. Your program must be
executable to pass. You are strongly advised to keep multiple versions in case of unforeseen
problems. Last minute changes to programs often result in serious problems. You might modify
the code from related source(s) with a proper citation(s) and you must be able to explain clearly
your code. The external code should contribute less than 30% of the total program. No part of
the code can be written by any other persons except as specified above.
Declaration
There is no requirement for documentation other than that in the code which should include your
name and purpose of the code. However, you are required to submit a declaration with the
following claim (in a text file or MS Word file).
DECLARATION
I hold a copy of this assignment that I can produce if the original is lost or damaged.
I hereby certify that no part of this assignment/product has been copied from any other student’s
work or from any other source except where due acknowledgement is made in the assignment.
No part of this assignment/product has been written/produced for me by another person except
where such collaboration has been authorised by the subject lecturer/tutor concerned.
Submission
Both the declaration and source code should be submitted via vUWS before the deadline for
documentation/checking purposes. Source code only should be zipped into one file with your
student id as the zipped file name. Use WinZip or WinRAR only. Submission that does not
follow these formats is not acceptable. No hard copy of source code or email submission is
acceptable unless by special arrangement with your tutor.
Demonstration
You are required to demonstrate your program during your scheduled practical session at the
specified teaching week (or based on the advice of the lecturer/tutor). Your tutor will check your
app and your understanding of the code. Make sure that you are fully familiar with the operation
of your app and draw the tutor’s attention to any special or advanced features you have
incorporated. You must have sample data in the app at the beginning of the demonstration. You
will receive no marks if you miss the demonstration time without an application for special
consideration. To prove that the program is written by yourself, the tutor might require you to
make some minor modifications. In this case, you must complete what is required in order to
prove that the code is only written by yourself. You are allowed to run your program from your
laptop or Android device at the demonstration time. The majority of feedback to your work will
be delivered orally during the demonstration. Final marks will be posted on vUWS after code
checking of your on-line submission.
The program you demonstrate should be the same as the one you submit. If you fail this
assignment at your first demonstration, you are allowed to improve your work within one week
(maximal grade is pass i.e. 50% in this case). Note that passing the assignment is not a
requirement to pass the unit.
相关推荐
重带电粒子的能量歧离(energy straggling)
能量歧离,Bethe-Bloch
177.Agent-LangGraph-MCP的构成说明
MCP架构通过MCP主机、客户端与服务器的协同,实现工具、资源与提示词的统一管理。MCP服务器提供Tools、Resources、Prompts能力,MCP客户端则负责发现、调用与读取,使Agent可按需获取上下文。其核心在于将工具从Agent中抽离,封装为可复用的服务,提升灵活性与可维护性,推动AI应用高效协作。
免费升级哨兵2号分辨率!用SRCNN深度学习模型实现10米→2.5米超分重建
本文详细介绍了如何利用SRCNN深度学习模型,将哨兵2号遥感影像的分辨率从10米免费提升至2.5米。文章提供了从数据准备、模型训练到部署应用的全流程实战指南,旨在通过AI应用技术,为农业监测、城市规划等领域提供更高精度的影像数据支持。
Docker Compose:搭建本地多服务开发环境
从一个 Java API、PostgreSQL 和 Redis 开始,配置服务名、端口、环境变量、健康检查、数据卷和依赖关系。理解 Compose 文件如何被解析、项目如何隔离,以及哪些数据不能依赖“重建容器”保留,能够把个人开发环境整理成团队可复用的启动入口。
保姆级教程:用Labelme标注车辆关键点,并一键转成YOLOv8-pose训练格式
本文提供了一份详细的车辆底盘关键点标注教程,从使用Labelme进行标注到一键转换为YOLOv8-pose训练格式的全流程指南。特别针对工业检测和自动驾驶场景,分享了标注规范、格式转换脚本及常见问题解决方案,帮助开发者高效准备训练数据并优化模型性能。
python 编程 安卓脚本_详解基于Android的Appium+Python自动化脚本编写
1.AppiumAppium是一个开源测试自动化框架,可用于原生,混合和移动Web应用程序测试, 它使用WebDriver协议驱动iOS,Android和Windows应用程序。通过Appium,我们可以模拟点击和屏幕的滑动,可以获取元素的id和classname,还可以根据操作生成相关的脚本代码。下面开始Appium的配置。appPackage和APPActivity的获取任意下载一个app解压...
AI全栈实战 | 3.9-01 爬虫入门:requests 加 BeautifulSoup 三分钟跑通,但 90% 的人栽在这 4 个“礼貌“问题上
⚠️:本文内容仅用于。请遵守目标站点的服务条款与相关法律法规,不得对目标服务造成负担,不得采集、传播个人隐私数据。技术是中性的,边界在你手里。爬虫的入门技术(requests 发请求 + BeautifulSoup 解析)三分钟就能学会。真正区分"会用爬虫"和"会做爬虫的人"的,是这篇我们跑通"请求→解析→存储"的最小闭环,然后重点把"合规与礼貌"这根弦给你绷上。
别再让充电器‘罢工’了!聊聊Charger里VIN-DPM这个不起眼但关键的功能
本文深入探讨了充电IC中的VIN-DPM(输入电压动态电源管理)功能,揭示其如何智能调节充电策略以避免电源适配器过载。通过实际案例和实验室数据,展示了VIN-DPM在提升充电稳定性和效率中的关键作用,并提供了选型、设计和故障排查的实用指南。
spring boot 4集成SQLLite,及其SQLLite的建库
spring boot 4集成SQLLite,及其SQLLite的建库
RealSense D455的标定并运行VINS-FUSION
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 欢迎使用Markdown编辑器 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar
大语言模型的三种主要架构 Decoder-Only、Encoder-Only、Encoder-Decoder
f基于 Transformer 模型以非灰色显示:decoder-only 模型在蓝色分支,encoder-only 模型在粉色分支,encoder-decoder 模型在绿色分支。模型在时间线上的垂直位置表示它们的发布日期。开源模型由实心方块表示,而闭源模型由空心方块表示。右下角的堆积条形图显示了各公司和机构的模型数量。从时间轴上,我们可以看到:2021年前,当 OpenAI 决定在,他们实际上是在逆流而上。
【基于 WebSocket 的多用户网页五子棋】—— 数据管理模块
但行好事,莫问前程
2024年上半年试题二:论性能测试方法及其应用
2025年1月,我以系统分析师的身份参与了公司OA系统的开发与建设。该系统包含的功能有打卡签到、公文流转、工资查询等。我们吸取了之前由于系统使用人数激增暴露出的短时间卡顿等问题,所以在本次开发中,我们非常重视系统的性能测试。通过自动化的测试工具模拟多种正常、峰值及异常负载条件对系统的各项性能指标进行测试。性能测试在软件的质量保证中起着重要的作用,它包括的测试内容丰富多样,常见的负载测试和压力测试都属于性能测试。
OpenClaw 深度调查:把 AI 助手做成你自己的控制平面
对 openclaw/openclaw 的完整技术尽调:Gateway 架构、Agent 运行时、工具与沙箱、30 个消息通道、181 个插件、安全信任边界、工程代价与采用建议。17 章 / 10 张图,全部数字标注口径,数据截至 2026-10-31。
数学建模模型总结
这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!
文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况
主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。
IDEA 简介:从零认识 IntelliJ IDEA
IDEA 全称,是由 JetBrains 公司开发的一款主流 Java 集成开发环境(IDE)。它集代码编辑、编译、调试、测试、版本控制、构建管理等功能于一体,被大量 Java 开发者视为日常开发的首选工具。所谓 IDE(Integrated Development Environment,集成开发环境),就是把写代码所需的各类工具整合到同一个界面中。相比只用文本编辑器加命令行编译,IDE 能显著减少重复操作,让开发者把精力集中在业务逻辑上。
IDEA的使用指南
IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.
TransactionInactiveError:await 之后事务已经不活跃了
TransactionInactiveError 出现于 IndexedDB 事务已结束(非 active 状态)时调用 put、get 等操作。常见于 await 后或 setTimeout 中执行请求,因任务已完成,事务已提交或进入 finished 状态。请求必须在创建事务的同一任务中挂起,否则无效。解决方法:在 onsuccess 回调内同步发起后续操作,或提前将所有请求挂入事务。避免在异步上下文中使用事务操作,确保请求在事务活跃期内完成。
怀旧版电脑GBC模拟器
再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。
Docker部署linkding:HTTPS与数据备份
部署私人书签库,除了让页面能够打开,还需要考虑几个实际问题:重建容器后数据是否保留、登录和保存是否正常、升级前怎样备份,以及出现 502 或 CSRF 错误时从哪里检查。本文使用 Docker Compose 部署 linkding,采用默认 SQLite 数据库,通过 Caddy 提供 HTTPS,并完成账户创建、数据持久化验证和备份。如果重建后账户或书签消失,应先检查是否换了项目目录、改了挂载路径,或者启动了另一套实例,不要急着重新初始化。遇到权限问题,应根据日志确认具体目录和运行用户,再调整权限。
云计算课程小组PPT汇报任务书
36人分为6组,每组6人;形式:生活案例调研 + 理论解读;汇报时长7‑9min;PPT建议10‑14页。
企业官网源码与数据资产交接:四项权利、五组自动检查
企业官网源码交接不仅要看压缩包,还要核域名、云资源、构建脚本、数据库恢复、权限与密钥。
软件项目交付时,源代码之外还应该交付哪些技术资料?
软件项目交付时,除可运行程序外,还应核对源代码、数据库结构、接口文档、部署运维、测试验收和账号资产。本文从实际交付环节拆解完整资料清单,并说明合同如何约定交付范围、知识产权与维护边界。
大表 ALTER TABLE 怎么做?NineData OnlineDDL 配置与执行实践
介绍NineData OnlineDDL大表变更实践,涵盖执行策略、切表控制、拷贝批次与可视化进度追踪。
Java 项目实战:交友项目后台系统——网关统一鉴权与 B 端管理后台
本次改造通过引入SpringCloud Gateway实现网关统一鉴权与路由,新建mf-admin管理端复用C端域服务(Dubbo调用),实现管理员登录与用户管理四件查询。核心套路:网关白名单+双体系JWT(同工具不同payload)、管理端零直连业务库、分页形态区分(MySQL自动count/Mongo手动count)、浏览器端独立聚合。踩坑12条,附自检清单与后续改造方向,可复用于多角色后台系统。
MySQL报Too many open files?句柄耗尽的排查与参数配置
文章讲清 max_connections 与 open_files_limit 两个额度、句柄被谁占走、分区表为什么最容易踩,给出从 error log 到 /proc/pid/limits 的定位顺序与句柄预算算法。
SQL Server 数据库双备份:简化配置,兼顾本地留存与异机归档
本文针对中小企业SQLServer数据库备份难题,提出简化配置与本地+异机双副本方案。传统原生备份依赖手动脚本,存在配置复杂、传输易中断、日志分散、静默失败等问题。推荐使用图形化工具实现备份、本地留存与异机同步一体化管理,支持断点续传、加密传输、自动清理与版本控制,降低运维负担。双副本策略提升数据安全性,本地快速恢复,异地防硬件故障。建议定期验证恢复流程,确保备份可用性。
Agent 安全实战:间接提示注入的四个攻击面与防御体系
当 Agent 从 "生成内容" 走向 "执行动作",安全边界就从内容合规变成了权限越界。本文拆解间接提示注入在网页抓取、工具返回值、MCP 连接器、长期记忆四个位置的真实攻击路径,对照 Claude、GPT、Gemini 在工具调用权限模型上的设计差异,给出可直接落地的五层防御体系。
Redis 入门详解:核心特性、重要文件与全局命令实战
本文系统介绍了Redis的核心特性、重要文件及全局命令。Redis凭借内存存储、C语言实现和单线程设计,具备极高的读写性能;支持持久化(RDB/AOF)、主从复制与集群架构,适用于缓存、排行榜、计数器等场景,但不适合存储海量冷数据。文中还解析了常见面试题,如为何快速、单线程原理、持久化机制、KEYS *禁用原因及过期键处理策略,强调其在高并发场景下的优势与局限。
2298



被折叠的 条评论
为什么被折叠?



