登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 信息与计算科学 > 正文

基于Android《地图应用南京掌上公交APP》的地图应用研究毕业论文

 2022-04-05 07:04  

论文总字数:25464字

摘 要

现代都市化步伐加快,交通网四通八达,城市公交在当代也就愈发重要。城市公交虽然能覆盖整个交通网,但也因此变得更加复杂,市民对公交实时信息的需求也就越大。

进入21世纪,无线通讯事业迅速崛起,由此衍生的移动业务也朝着多元化、全能化飞速发展,现代的移动通信业务都与互联网息息相关。只要你在智能手机上进行一切关于互联网的操作,就与移动通信进行了交互。但由于每个用户需求不同或者是移动终端设备高低问题,并非所有手机能显示出完整正确的同一条信息。同时,人们对生活品质追求越来越高,希望可以得到更智能化、人性化的服务。基于Android《公交地图应用南京掌上公交APP》的软件就满足了市民的这一需求。

本文详细介绍了Android系统的特征、详细代码设计开发等。该软件结合百度地图提供的SDK,可以实现最基本的GPS定位(保证Android手机连接数据网或无线网),设计了南京公交查询系统。系统使用Java语言进行编写。本文还利用核心代码和运行效果图相结合的方式,详细地叙述主要功能模块。本文还对设计开发过程中遇到的问题,比如连接百度API不成功,地图无法显示等问题进行了表述以及解决方法,并最终得出理想的效果。

关键词:Android;公交实时查询;百度地图;SQLite

Nanjing APP Bus based on the Map of the Application

Abstract

With the modern pace of urbanization, transportation network extends in all directions, and city buses come more important in contemporary. Urban public transport can cover the whole traffic network but it also becomes more complex. Therefore, the public demand for real-time information on public transport is also greater.

In the 21st century, the rapid rise of the wireless communications industry resulting in the mobile services is also moving towards diversification. Modern mobile communications services are closely related to the internet. As long as one performs all operations about the Internet on cell phones, it interacts with the mobile communications. However, due to the different needs of each user or mobile terminal device level issues, some mobile phone cannot show the same information completely and correctly. At the same time, people's pursuit of quality of life is getting higher and higher, and they hope to get more intelligent and humanized service.

This paper describes the characteristics of the Android system, minute code and development, etc. The software combined with the Baidu Map, one can achieve the most basic GPS positioning as ensuring the phone connect network, and the design of the Nanjing public transport query system. The system uses the Java language to carry on the compilation. The main function modules are described in detail by the combination of the core code and the effective operation diagram. The paper solves many problems. For example, the connection of Baidu Map is not successful, and the map cannot be displayed. We ultimately get the ideal results.

Keywords: Android; Bus real-time query; Baidu Map; SQLite

目录

摘要 I

Abstract II

第一章 绪论 1

1.1 南京掌上公交APP研发背景 1

1.2 移动终端的发展概况 1

1.3 公交查询的发展历史 2

1.4掌上APP的研究内容 3

第二章 安卓系统的技术背景 5

2.1 Android平台 5

2.1.1 Android常用的Java编程技术 5

2.1.3文件型数据库SQLite及sqliteadmin 8

2.2 Android应用程序结构及运行原理 9

2.2.1 Android工程的文件系统结构 9

2.2.2 Android应用程序的基本组成 14

2.2 位置服务 16

2.2.1 基于位置的服务LBS 17

第三章 系统设计 19

3.1 客户端需求分析 19

3.1.1系统功能模块图 19

3.1.2 功能描述 19

3.1.3 系统用例图 20

3.1.4 程序流程图 21

3.2系统体系结构 21

3.3 系统效果的预期实现 22

第四章 系统环境搭建 23

4.1 Android平台搭建 23

4.1.1 下载集成包Android SDK ADT for Windows 23

4.2百度地图API申请及使用 25

4.2.1下载用于地图开发的文件并导入工程 25

4.2.2 申请定位与地图应用的Key 28

第五章 系统设计与实现 31

5.1 标题栏地点定位的实现 31

5.1.1 标题栏页面布局 32

5.1.2 自我定位的实现 32

5.2 公交线路查询功能实现 33

5.2.1 代码实现 33

5.2.2 系统功能截图 36

5.4.1 代码实现 36

5.4.2系统运行截图 37

5.5 完善软件 41

总结 42

致谢 43

参考文献 44

第一章 绪论

1.1 南京掌上公交APP研发背景

伴随着现代都市化步伐的加快,人们的物质生活有了很大地提高[[1]][[2]],交通网四通八达。人们在追求高品质生活的同时也注意到生活效率与环保,更多的市民选择公交作为首要的出行工具。私家车出行虽然能极大方便市民生活,但遇到高峰期却难以发挥其优势。城市公交虽然能覆盖整个交通网但也变得更加复杂,对于不熟悉线路的市民和急需了解乘车路线的非本地人来说,这是一个极大的困扰。所以,怎样能准确地获取公交线路的实时信息,规划自己的出行时间,是急需解决的问题,也是大家关心的问题。

公交查询方式随着技术的发展,也有了华丽的变身。最初,人们到不熟悉的地方,都是通过口头询问、查询公交站牌等方式查找到自己想去的地方路线。随着技术发展,开始出现了网页式的公交查询方式,网页式公交查询的出现使人们出行查询的方式有了质的飞越。但其弊端也逐渐显露出来,想要查询系统的市民必须要有服务器端才能查询到自己想要的信息,毕竟对于在外工作的人来说手机总比电脑要方便的多。其中,不断涌现出来的手机地图系统软件就为在外急需找到某个地点的人提供了途径,节约了时间,也提高了效率。

1.2 移动终端的发展概况

在人们的生活中接触最多的移动终端可以算是智能手机。确实,大部分情况下移动终端就是指手机。但事实上,移动终端也不仅仅只是手机,还包括笔记本、平板电脑、POS机等。可以说,移动终端就是这些在移动中可以使用的计算机设备[[3]]

请支付后下载全文,论文总字数:25464字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图