【正文】
學(xué) 位 論 文 基于 Android 平臺的公交查詢 作 者 姓 名: 冀虹穎 學(xué) 科 專 業(yè): 電子信息工程 學(xué) 號: 092022106 指 導(dǎo) 教 師: 索靜講師 完 成 日 期: 2021610 太原工業(yè)學(xué)院 Taiyuan Institute of Technology太原工業(yè)學(xué)院畢業(yè)設(shè)計(jì) (論文 ) I 基于 Android平臺的公交查詢 摘要 在我國,隨著經(jīng)濟(jì)的快速發(fā)展,和城市化的快速發(fā)展,城市公交系統(tǒng)也隨之迅速擴(kuò)大,且更加復(fù)雜化,公交車已成為城市居民出行的主要交通工具。當(dāng)公交線路較少時(shí),乘客很容易找到一條可選路線,但由于隨著城市擴(kuò)建城市公交線路四通八達(dá),選擇一條經(jīng)濟(jì)的乘車路線就不是一件容易的事,找不到合適的乘車路線的事情經(jīng)常發(fā)生,更別說是在不知道公交車站牌的情況下選擇合適的路線。當(dāng)前,復(fù)雜的公交系統(tǒng)使得用戶往往處于迷惑的狀態(tài),給出行帶來諸多不便,而手基于 android 的移動公交查詢系統(tǒng)的選題也正是基于該背景。以 Android 作為平臺 ,能為客戶隨時(shí)隨地提供公交信息的查詢,用最短的時(shí)間到達(dá)想要的目的地。尤其目前太原的交通系統(tǒng)只能通過網(wǎng)上查詢才能選擇合適的班車,這是出行者也感到許多不便。為了解決這一問題,本論文專門設(shè)計(jì)了與地圖相結(jié)合的公交查詢,不僅能解決自家在外迷路的問題,還可以讓出行者隨時(shí)隨地根據(jù)自己所在位置選擇最近的公交站,并直接可以在地圖上讀取想要的公交車信息,選擇最適合自己的出行路線。 關(guān)鍵詞 : Android , 地圖 ,公交查詢 基于 Android 平臺的公交查詢 II Bus query based on the Android platform Abstract In our country, with the rapid development of economy, and the rapid development of urbanization, urban public transport system has been expanded rapidly, and more plicated, the bus has bee the main transportation of city residents. When bus lines is small, the passenger is easy to find an alternative route, but due to the convenient with urban expansion of the city bus lines, choose a bus line of economy, it is not an easy thing, the route to find things happen often, let alone in the case of don39。t know what is the bus stop to choose the appropriate route. Currently, plex bus system allows the user often is in a state of confusion, bring inconvenience, to travel and hand mobile bus query system based on android39。s topic is also based on this background. With Android as a platform, can provide customers anytime, anywhere with the bus information query, want to the destination in the shortest time. Especially at present, taiyuan traffic system can only choose the right bus by online query, this is traveler also feel a lot of inconvenience. In order to solve this problem, this paper designed the bined with a map of bus query, can not only solve the problem of their lost outside, still can let people anytime, anywhere based on their location choice the nearest bus station, and directly can be read on the map to bus information, select the most suitable for their own travel routes. Key words: Android, Map, Bus query 太原工業(yè)學(xué)院畢業(yè)設(shè)計(jì) (論文 ) III 目 錄 誠信申明 .................................................................................................... 錯誤 !未定義書簽。 基于 Android 平臺的公交查詢 ................................................................................................. I 摘要 ............................................................................................................................................. I Abstract ...................................................................................................................................... II 目 錄 ....................................................................................................................................... III 1 緒論 ......................................................................................................................................... 1 問題的提出 .................................................................................................................. 1 研究的背景與意義 ...................................................................................................... 1 主要實(shí)現(xiàn)的功能 .......................................................................................................... 2 論文的整體結(jié)構(gòu) .......................................................................................................... 2 2 開發(fā)平臺和開發(fā)語言簡介 ..................................................................................................... 3 Android 操作系統(tǒng)的介紹 .......................................................................................... 3 Android 簡介 ..................................................................................................... 3 Android 的特點(diǎn) ................................................................................................. 3 Android 架構(gòu) ..................................................................................................... 4 開發(fā)工具和開發(fā) 語言的介紹 ...................................................................................... 5 開發(fā)工具 Eclipse 簡介 .................................................................................... 5 開發(fā)語言簡介 .................................................................................................. 5 3 開發(fā)中的關(guān)鍵技術(shù) ................................................................................................................. 6 關(guān)于 界面布局的幾種方式 .......................................................................................... 6 Android 的定位接口( Location) ............................................................................. 6 Android 的地圖接口( Map) .................................................................................... 7 數(shù)據(jù)庫 SQL ................................................................................................................. 8 Android 中 GPS 接口和類簡介 .................................................................................. 8 Google Map 介紹 ....................................................................................................... 11 4 公交查詢的系統(tǒng)設(shè)計(jì) ........................................................................................................... 12 基于 Android 平臺的公交查詢 IV 公交查詢線路設(shè)計(jì) .................................................................................................... 12 公交查詢站點(diǎn)設(shè)計(jì) .................................................................................................... 13 交查詢數(shù)據(jù)庫設(shè)計(jì) .......................