本科毕业设计
题
目 (杏)安卓手机公交查询系统开发
本人声明:所呈交的论文是本人在导师指导下进行的研究成果。除了文中特别加以标注和致谢的地方外,论文中不包含其他人已发表或撰写过的研究成果。参与同一工作的其他同志对本研究所做的任何(网学)贡献均已在论文中作了明确的说明并表示了谢意。
签 名: 日 期:
本论文使用授权说明
本人完全了解南通大学有关保留、使用学位论文的规定,即:有权保留论文及送交论文复印件,允许论文被查阅和借阅;可以公布论文的全部或部分内容。
(保密的论文在解密后应遵守此规定)
学生签名: 指导教师签名: 日期:
南通大学计算机科学与技术
2012 年 12 月25日
南通大学计算机科学与技术
2012 年 12 月25日
摘 要
随着无线移动通信的高速发展及各种移动业务种类的快速增长,一切互联网上的业务都在移动通信系统中得到应用。然而,由于用户需求的原因,或者终端支持与否的因素,并非所有手机都能正确显示同一信息内容。而且随着客户端设备的类型越来越多,人们对个性化服务的要求越来越高,个性化信息服务成为将来网络信息服务发展的一个重要的方向。
移动终端是一种采用先进通信协议栈的复杂系统,它需要具有与许多网络设备互操作、支持先进而丰富的多媒体的应用程序。而且,所有这些都必需在一个资源有限的嵌入式系统的约束条件下实现。Android技术提供了跨平台的能力,并支持多种器件设备。Android技术为无线设备创建了一个全新的开发平台,可以让移动通信设备发挥出最大的潜能。Android手机作为移动终端为今后移动通信发展提供了很好的解决方案。
本文对Android系统的特征,系统架构及应用程序构建、开发都做了比较详细的分析。同时结合Baidu Maps、GPS定位技术、对在android上定位和导航进行了深入的研究,并设计了基于Android系统的公交路线查询应用。系统使用java语言和eclipse开发工具进行编写。同时给出了详细的系统设计过程、部分界面图及主要功能运行流程图,本文还对开发过程遇到的问题和解决方法进行了讨论。
本系统的主要实现的功能有换乘查询,还有线路查询和站点查询功能,不仅能显出查询的结果,而且还能够根据用户选择的线路实现电子地图的显示,使系统更加直观。
关键词:android,公交路线查询, Baidu Maps
ABSTRACT
With the rapid development of wireless mobile communication and the rapid growth of the mobile business types, all business on the Internet in a mobile communication system. However, due to reasons of user needs, or whether or not the terminal supports the factors, not all phones can correctly display the same information content. And more and more with the type of client device, more and more personalized service requirements, personalized information service has become important direction of the future development of a network information service.
Mobile terminal is a complex system with advanced communication protocol stack, it needs to have interoperability with many network devices, and support advanced rich multimedia applications. Moreover, all of which must be implemented in a resource-limited embedded system under restricted conditions. Android technology provides cross-platform capability, and supports a variety of devices devices. Android technology for wireless devices to create a new development platform that lets mobile communications equipment to play the greatest potential. Android phone as a mobile terminal provides a good solution for the future development of mobile communication.
In this paper, the Android system characteristics, system architecture and application build, developers have done a more detailed analysis. Combination Baidu Maps, GPS positioning technology, positioning and navigation android conducted in-depth research and design of bus routes Android-based query application. The system uses the Java language and Eclipse development tools to write. At the same time gives a detailed system design process, part of the interface diagram and operation flow chart of the main function of the development process, the paper also encountered problems and solutions are discussed.
The system functions of the main transfer query line query and site search function, not only can show the results of the query, but also to the electronic map display based on user-selected line, to make the system more intuitive.
Key words: android, Bus routes queries, the Baidu Maps
目 录
第1章 绪论 1
1.1课题的研究意义 1
1.2移动终端的发展现状 1
1.3公交查询现状 2
1.4本次课题研究内容 3
第2章 需求分析 4
2.1 服务器端需求分析 4
2.1 客户端需求分析 5
第3章 技术背景介绍 6
3.1 GPS 6
3.1.1全球定位系统简介 6
3.1.2 GPS系统的组 7
3.1.3 GPS的功能 8
3.1.4 应用前景 9
3.2 Android平台 9
3.2.1 Android特征 9
3.2.2 Android架构 10
3.2.3 Android应用的构成和工作机制 12
3.3本章小结 14
第4章 平台的搭建 16
4.1 Android 开发环境的搭建 16
4.1.1 JDK的安装 16
4.1.2 Eclipse的安装 17
4.1.3 Android SDK安装 17
4.1.4 ADT安装 19
4.1.5 创建AVD 20
4.2 Eclipse简介 20
第5章 程序设计 21
5.1系统体系结构 21
5.2 Baidu Maps API 申请及使用 21
5.2.1申请Baidu Map Key 21
5.2.2获取坐标和地址 22
5.2.3地图自动定位 23
5.2.4百度地图地址解析服务Geocoder 23
第6章 系统设计与实现 25
6.1 欢迎界面的实现 25
6.2 主要功能的实现 26
6.3 截图及运行说明 1
6.4 软件可以改进之处 9
第7章 系统测试 10
7.1手动测试方案 10
7.2工具测试方案 10
7.2.1单元测试 10
7.2.2 系统测试 11
7.3测试用例 11
7.4辅助测试工具 11
结论 13
参考文献 14
致谢 16
第1章 绪论
1.1课题的研究意义
出行是人们日常生活中不可或缺的一部分,而公交车是大多数人出行首选的交通工具,如何才能随时随地、方便快捷的获取公交线路的信息,合理安排自己的出行线路,是很多人非常关心的问题。
建设智能公交系统,利用当代高新技术:电子、信息、通信、计算机、GPS、GIS等,将交通系统中的人、交通设施和交通工具有机的联系起来,建立智能公交系统,如公交优先系统、公交查询系统、智能化行车系统等,为乘客提供实时的更多更全面的出行信息,更好的为乘客服务。
在智能公交系统中,公交查询系统的服务是目前最贴近乘客日常生活的,也是最能让乘客亲身体会公交服务水平高低的方面。因此,如何给乘客提供一个良好的平台,让乘客选择或是推荐合适的乘
上一篇:
基于安卓平台的手机计步器毕业论文
下一篇:
面向android系统的测试工具_毕业论文