摘 要
Android点菜系统是基于Android手机的一款网络应用软件,目的在于为餐馆用户和餐馆提供极大的便利。应用此软件,用户可以轻松便捷地实现自己的点菜要求。
此系统基于C/S结构,采用Servlet和MySQL编程来实现对数据的存储和操作。手机客户端主要应用Android UI开发技术,使用Activity组件,并遵照MVC模式进行开发。网络数据交互则遵照HTTP协议来实现与服务器端的通信。
本文第一章绪论部分对整个系统和开发过程中所用到的技术做了一个简略的介绍。第二章是系统的需求分析和数据库的设计,第三章是主体功能的编码实现,介绍本系统各个功能模块的具体实现。第四章是系统测试和纠错部分,对整个系统进行全面的测试。最后一章是总结。
关键词:MVC,Android,MySQL,Eclipse,数据存储
ABSTRACT
Android menu-ordering system is an internet-applied application. It aims at offering great convenience to the customers and restaurants. By widely applying the application, customers can order dishes directly in the future.
The system is based on the C/S structure. Using the techlonogies of severlet developing and MySQL programming, the system controls and manages data efficiently. The author used Android UI developing techlonogy to design the interface on cellphones, which applied the Activity module and followed the principle of MVC. As for the internet information transformation, the system obeys HTTP file transfor protocol to accomplish the communication with servers.
The first chapter breifly introduced the system and all technologies involed. The second chapter presented the requirement analysis and the database structure design. The third chapter described the sytem development procedures. The forth chapter is about the testing and debugging.The last chapter is the conclusion.
Keywords: :MVC,Android,MySQL,Eclipse
目 录
摘 要 I
ABSTRACT II
第1章 绪论 1
1.1 Android手机点菜软件简介 1
1.2 Android平台简单介绍 1
1.3 主要开发思想和技术 1
1.3.1 MVC模式 1
1.3.2 MySQL 2
1.3.3整体技术 2
第2章 系统需求分析和设计 4
2.1系统分析 4
2.1.1 可行性分析 4
2.1.2 系统需求分析 5
2.1.3 系统功能模块 5
2.2 数据库设计 6
2.2.1 表结构分析 6
2.2.2 表结构关系 7
2.2.3 表的详细设计 8
2.3 主要开发工具 9
2.3.1 Eclipse介绍 9
2.3.2 DroidDraw 介绍 10
2.3.3 ADT 介绍 10
第3章 系统实现 11
3.1 用户登录注册 11
3.1.1 登录注册说明 11
3.1.2 登录注册实现 12
3.2 点菜功能 15
3.2.1点菜功能说明 15
3.2.2点菜功能实现 17
3.3 我的订单 18
3.3.1 订单管理说明 18
3.3.2 订单管理实现 19
3.4 健康资讯 20
3.4.1健康资讯说明 20
3.4.2 健康资讯实现 20
3.5 联系客服 21
3.5.1 联系客户说明 21
3.5.2 联系客户实现 22
第4章 分析实现结果及测试 23
4.1 系统实现分析 23
4.1.1系统框架结构分析 23
4.1.2系统架构模式分析 24
4.2 系统测试 25
4.2.1测试目的 25
4.2.2测试方法 25
4.2.3测试过程 25
第5章 总结 28
参考文献 29
附 录 30
致 谢 33
第1章 绪论
1.1 Android手机点菜软件简介
Android[1]手机终端点菜系统是面向广大使用Android手机的用户人群开发的,手机用户安装此软件后可以用此客户端软件来进行日常的点菜,功能包括:点菜、购物、评分、资讯、客服等完善的体系,省去人工点菜的复杂手工劳动和程序,为用户和餐馆节约宝贵的时间,提供更多的便利。该软件用户只要携带手机在联网状态就能使用该软件,不需要花费额外的过多费用,软件操作简单,使用方便。
1.2 Android平台简单介绍
Android是基于Linux内核的操作系统,是Google公司在2007年11月5日公布的手机操作系统,早期由Google开发,后由开放手持设备联盟(Open Handset Alliance)开发。它采用了软件堆层(software stack,又名以软件叠层)的架构,主要分为三部分。底层Linux内核只提供基本功能;其他的应用软件则由各公司自行开发,部分程序以Java编写。目前主要应用于手机,平板电脑等手持设备平台[2]。它是一款优秀的开源操作系统,由于其开源的优势,吸引了众多的软件开发人员,及众多硬件厂商,移动运营商,半导体厂商等。所以发展的非常迅猛,现在市面上也出现了众多的android 手机,这种大人群使用的优势,使得android的应用软件不断发展壮大[3]。