freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于android的手機公交線路查詢系統(tǒng)畢業(yè)設(shè)計-閱讀頁

2025-07-13 01:02本頁面
  

【正文】 c static final String ARASHMEN_TABLE_FARE = fare。public static final String routesTB = create table routes(RouteName char(16) primary key,Content text)。public static final String fareTB=create table fare(id int primary key,RouteName char(16),isFixedFare char(6),FullFare double)。} 客戶端功能模塊實現(xiàn) 線路查詢用戶登錄手機公交線路查詢頁面,可以用按照站點查詢和按照線路名查詢兩個功能。 地圖功能借助GoogleMap完成地圖查詢功能。toGeoPoint = getGeoByAddress(arrive)。()。daddr=+GeoPointToString(toGeoPoint)+ amp。startActivity(intent)。 try { if (strSearchAddress != ) { Geocoder mGeocoder01 = new Geocoder(, Locale .getDefault())。 if (!()) { Address adsLocation = (0)。 double geoLongitude = () * 1E6。 } } } catch (Exception e) { ()。 }private String GeoPointToString(GeoPoint gp) { String strReturn = 。 double geoLongitude = (int) () / 1E6。 } } catch (Exception e) { ()。 }Android平臺是由Google公司推出的一個開源的手機開發(fā)平臺,Google公司將軟件GoogleMap集成在該平臺上了,調(diào)出地圖界面就是僅僅幾行代碼,在此所做的工作是,從本地數(shù)據(jù)庫獲取到合法站點名,將地址解析成對應(yīng)的經(jīng)緯度,然后再將經(jīng)緯度傳入Google服務(wù)器,Google服務(wù)器便返回一段數(shù)據(jù)流,客戶端接收后加以處理,并以地圖的形式顯示。 URLConnection conn = ()。 InputStream in = ()。 DocumentBuilder builder = ()。 NodeList nl = (routes)。 i ()。 String RouteName = (RouteName) .item(i).getFirstChild().getNodeValue()。 (RouteName, RouteName)。 (values, db)。 } 意見反饋用戶進入意見反饋頁面,可以對該軟件提出意見,并以郵件的方式發(fā)給作者。Intent it = new Intent(,uri)。 第七章 結(jié)論目前,該軟件可以在多款手機上使用,比如摩托羅拉,HTC,三星,清華同方等多家公司出臺的Android手機,支持該軟件的手機型號有Qdroid,G2,G3,HTC Android,清華同方QD等。學(xué)習(xí)了最新的Android平臺開發(fā)技術(shù),充分進行考慮,最終采用了B/SC/S模式。在今后不斷的測試中,發(fā)現(xiàn)不足和改善,以便能滿足大部分手機用戶的需求。對待從沒有見過的問題,敢于探討,敢于發(fā)表自己的意見,敢于創(chuàng)新,并且將想法在實踐中驗證。雖然起步比晚,但確明白“笨鳥先飛”的道理,選完課題的時候,許多需要掌握的知識幾乎是零基礎(chǔ),一直本著既然做就要做好的想法,堅信方法總是比困難多!所以有再大困難,只要用積極的態(tài)度去面對,總會有希望去解決并且完成。而如今,在畢業(yè)之際,回想老師說的這句話,確實深有體會當(dāng)初王老師說的那些話,在此要特別感謝我的導(dǎo)師,王潤云老師!朱建軍老師是我的班主任,平時朱老師的工作確實很忙,還要常抽出時間照顧這群還沒長大的大學(xué)生,一晃四年即將過去,大家都從懵懂的少年,變的成熟穩(wěn)重了。 此外還要感謝很多很多,親人,朋友以及所有幫助過的你的人,你都應(yīng)該表示感謝,在這次設(shè)計開發(fā)的過程中,確實碰到了很多困難,但是也碰到很多朋友,都很熱情的給予幫助,在這個過程中我漸漸學(xué)會,并且懂得了另外的一些東西,比如:感恩,堅持! 畢業(yè)之際,做為一名科大學(xué)子,我深深的為此感到驕傲,四年之內(nèi),我品嘗了人生五味瓶,珍惜每一段記憶,感謝每一位科大學(xué)子,感謝計算機科學(xué)與工程學(xué)院,感謝我的母校,湖南科技大學(xué)!附 錄A 數(shù)據(jù)庫更新語句//刪除同名表DROP TABLE IF EXISTS routes。DROP TABLE IF EXISTS fare。//創(chuàng)建表routescreate table routes(RouteName char(16) primary key,Content text)。//創(chuàng)建表farecreate table fare(id int primary key,RouteName char(16),isFixedFare char(6),FullFare double)。附 錄B 線路和站點查詢代碼public class QueryPageResource extends TabActivity { public final static String XTCity = 中國湖南省湘潭市。 private AutoCompleteTextView departureText, arriveText, routeNameText。 private DBHelper helper。 private View tabLinear。 private ZoomControls mZoom。 Override protected void onCreate(Bundle savedInstanceState) { (savedInstanceState)。 TabHost choice = getTabHost()。 ((busStop).setIndicator(站點站點) .setContent())。 busStopButton = (ImageButton) findViewById()。 departureText = (AutoCompleteTextView) findViewById()。 routeNameText = (AutoCompleteTextView) findViewById()。 stationListView = (ListView) findViewById()。 int flag = 0。 ListString list1 = new ArrayListString()。 (routeName)。 (adapter1)。 String[] columns = { Station }。 while (()) { String station = (0)。 } ArrayAdapterString adapter2 = new ArrayAdapterString(this, , list2)。 (adapter2)。 } })。 } })。 (, )。 startActivity(intent)。 } })。 try { db = (, MODE_WORLD_WRITEABLE, null)。 } return db。 (0, 2, 0, 地圖查詢)。 return true。 switch (()) { case 1: intent = new Intent()。 startActivity(intent)。 case 2: break。 Intent it = new Intent(,uri)。 }catch(Exception e){ } default: break。 } /* 查詢 */ private void onQueryRouteName(String RouteName, final ListView listview, SQLiteDatabase db, Context context) { if(()0){ List list = new ArrayList()。 String[] columns = { RouteName, Content }。 String require = RouteName like ?。 while (()) { result = (1)。 for (int i = 0。 i++) { Map map = new HashMap()。 (map)。 int[] to = { }。 (adapter)。 } } private void onQueryStationOne(String begin, String end, final ListView listview, SQLiteDatabase db, final Context context) { Cursor c = null。 Set set = new HashSet()。 ListString resolvent = new ArrayListString()。 int num_begin_dir = 0。 int num_begin_back = 0。 int num_middle_begin = 0。 int num_length_begin = 0。 int num_temp = 0。 String station_middle = null。 String[] columns = { RouteName, Content }。 String[] condition2 = { % + end + % + begin + % }。 String[] condition4 = { % + end + % }。 c = (, columns, require, condition1, null, null, null)。 (pleteRoute, (0))。 } } else if (() == 0) { c = (, columns, require, condition2, null, null, null)。 (pleteRoute, (0))。 } } else if (() == 0) { c = (, columns, require, condition3, null, null, null)。 while (()) { String[] stationbegin = (1).split()。 num_length_begin = 。 num num_length_begin。 // 起點站(begin)在整條路線從起點算是第num_begin站dir } } while (()) { String[] stationend = (1).split()。 num_length_end = 。 for (int num = 0。 num++) { if (stationend[num].trim().equals(())) { num_end_dir = num。 num_begin_middle num_length_begin。 num_end_middle num_length_end。 num_middle_end = num_end_middle。 num_temp = (num_begin_dir num_middle_begin) + (num_end_dir num_end_middle)。 num_final = num_temp num_final ? num_temp : num_final。 (pleteRoute)。 } } } } } Set set_back = onQueryStationTwo(end, begin, db)。 Iterator it = ()。 Route route = null。 Route route_dir = null。 while (()) { (Route)())。 }
點擊復(fù)制文檔內(nèi)容
物理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1