基于Android
系统的公交信息
查询系统
中国石油大学(华东)本科
毕业设计(论文)
摘
要
由于手机价格低廉,使用方便,它已成为人们获得在生活
工作上等各种信息服务的最佳选择。借助于无线互联网,基于手机的公交查询系统能为客户随时随地提供公交信息。目前也已经有了不少公交车查询系统,但是这些系统多少都存在一些
问题,如数据更新较慢、不准确等。本文在研究分析总结这些问题的基础上,设计并实现了基于手机的公交信息查询系统。系统运行于Android平台,地图部分使用谷歌地图,主要采用
Java语言编写,数据库采用SQLITE,以Tomcat作为服务器。实现了定位当前位置、查找位置并在地图中显示、车次查询、站点查询、站站查询、换乘查询等功能。该公交查询系统不仅实现了查询结果的文本显示,而且实现了文本和电子地图的同时显示,使系统更直观,更方便用户的查询。
关键词:公交查询;Android平台;SQLITE;谷歌地图关键词
1
中国石油大学(华东)本科毕业设计(论文)
ABSTRACT
Asmobilephonesarecheapandconvenient,ithasbecomethebestchoicetoaccessvariousinformationservicesinourworkandlife.WithwirelessInternet,phone-basedBusInformationInquirySystemcanprovideusbusinformationatanytimeandanywhere.AlotofBusInformationInquirySystemsareavailablenow,butthesesystemshavesomeproblems,forexample,datamaynotbeaccurateandbeupdatedslowly.Havinganalyzedandsummarizedtheseissues,Idesignandimplementthissystem–theBusInformationInquirySystem.Themaincontentofthepaper:analysisofdomesticandinternationalBusInformationInquirySystem.Idescribesmymethodtodesignabasicbusinformationinquirysystemandthewaytorealizethesefunctions,suchaspositioningthecurrentlocation,searchinganddisplayingthelocationinthemap,tripsinquiries,sitequery,stationtostationinquiries,andtransferfunctions;thesystemusingGoogleMaprunsonAndroidplatform,themainprogramminglanguageisJava,andIuseSQLITEasmydatabase,Tomcatasmyserver;theBusInformationInquirySystemcannotonlydisplayitsinqueryresultsintext,itcanalsodisplaytext
andelectronicmapatthesametime,thusthesystembecomesmoreintuitiveandfriendly.
Key
words:businquiry;Androidplatform;SQLITE;googlemap
2
中国石油大学(华东)本科毕业设计(论文)
目
录
..................................................第一章前言..................................................11.问题的提出及研究意义......................................12.课题研究现状..............................................22.1国外研究现状............................................22.2国内研究现状............................................32.3基于手机的公交查询系统研究现状..........................43.本文组织结构..............................................44.本章小结..................................................4................................................第二章关键技术................................................51.Android平台相关内容介绍...................................51.1Android操作系统简介...................................5
1.2Android架构............................................52.3.Tomcat技术...............................................8HTTP协议.........................