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

正文內(nèi)容

城市導(dǎo)游系統(tǒng)畢業(yè)設(shè)計(jì)-資料下載頁

2025-06-26 15:38本頁面
  

【正文】 icbooleanonCreateOptionsMenu(Menu menu) { // Inflate the menu。 this adds items to the action bar if it is present. getMenuInflater().inflate(, menu)。 (餐飲).setOnMenuItemClickListener(new menuClickEvent(menuone))。return true。}/** * 菜單點(diǎn)擊事件 * @author xxx * */public class menuClickEvent implements OnMenuItemClickListener { String mStrMenu。 publicmenuClickEvent(String str) { mStrMenu = str。 } @Override publicbooleanonMenuItemClick(MenuItem arg0) { // TODO Autogenerated method stub testCircleClick()。 if ((menuone)) { (餐飲, new GeoPoint((int) ( * 1E6), (int) ( * 1E6)), 10000)。//搜索10km周圍的餐飲 }return false。 } }@Override protected void onDestroy(){ ()。 if(mBMapMan!=null){ ()。 mBMapMan=null。 } ()。 } @Override protected void onPause(){ ()。 if(mBMapMan!=null){ ()。 } ()。 } @Override protected void onResume(){ ()。 if(mBMapMan!=null){ ()。 } ()。 } Public void testCircleClick() { Intlat = (int) (mLat1*1E6)。 Intlon = (int) (mLon1*1E6)。 GeoPoint pt1 = new GeoPoint (lat, lon)。 //構(gòu)建點(diǎn)并顯示 Geometry circleGeometry = new Geometry ()。 (pt1, 2000)。 Symbol circleSymbol = new Symbol ()。 = ()。 = 0。 = 255。 = 0。 = 126。 (circleColor,1,3)。 Graphic circleGraphic = new Graphic(circleGeometry, circleSymbol)。 (circleGraphic)。 ()。 //().setZoom(12)。 //().setCenter(pt1)。 }用戶進(jìn)入系統(tǒng)后,系統(tǒng)將自動(dòng)定位用戶手機(jī)所在地,單擊手機(jī)菜單,選擇購(gòu)物查詢,即可查詢到用戶周邊購(gòu)物點(diǎn),并且在地圖上以圖標(biāo)的方式顯示出來,點(diǎn)擊地圖上的某個(gè)購(gòu)物點(diǎn)圖標(biāo),顯示該購(gòu)物點(diǎn)的具體信息。 周邊住宿顯示本系統(tǒng)中周邊信息檢索是建立在手機(jī)定位功能上開發(fā)的程序,是以用戶手機(jī)為中心,顯示城市導(dǎo)游系統(tǒng)用戶中心10km范圍內(nèi)的信息查詢,其中包括周邊景點(diǎn)、餐飲、住宿、購(gòu)物中心的查詢。主要代碼:publicbooleanonCreateOptionsMenu(Menu menu) { // Inflate the menu。 this adds items to the action bar if it is present. getMenuInflater().inflate(, menu)。 (購(gòu)物).setOnMenuItemClickListener(new menuClickEvent(menuone))。return true。}/** * 菜單點(diǎn)擊事件 * @author xxx * */public class menuClickEvent implements OnMenuItemClickListener { String mStrMenu。 publicmenuClickEvent(String str) { mStrMenu = str。 } @Override publicbooleanonMenuItemClick(MenuItem arg0) { // TODO Autogenerated method stub testCircleClick()。 if ((menuone)) { (購(gòu)物, new GeoPoint((int) ( * 1E6), (int) ( * 1E6)), 10000)。//搜索10km周圍的購(gòu)物 }return false。 } }@Override protected void onDestroy(){ ()。 if(mBMapMan!=null){ ()。 mBMapMan=null。 } ()。 } @Override protected void onPause(){ ()。 if(mBMapMan!=null){ ()。 } ()。 } @Override protected void onResume(){ ()。 if(mBMapMan!=null){ ()。 } ()。 } Public void testCircleClick() { Intlat = (int) (mLat1*1E6)。 Intlon = (int) (mLon1*1E6)。 GeoPoint pt1 = new GeoPoint (lat, lon)。 //構(gòu)建點(diǎn)并顯示 Geometry circleGeometry = new Geometry ()。 (pt1, 2000)。 Symbol circleSymbol = new Symbol ()。 = ()。 = 0。 = 255。 = 0。 = 126。 (circleColor,1,3)。 Graphic circleGraphic = new Graphic(circleGeometry, circleSymbol)。 (circleGraphic)。 ()。 //().setZoom(12)。 //().setCenter(pt1)。 }參考文獻(xiàn)[1]楊豐盛, Android 應(yīng)用開發(fā)揭秘[M]. 北京:機(jī)械工業(yè)出版社,2010 年.[2]農(nóng)麗萍,王力虎,黃一平,Android在嵌入式車載導(dǎo)航系統(tǒng)的應(yīng)用研究[D]. 北京:計(jì)算機(jī)工程與設(shè)計(jì),2010, 31(11).[3]吳眾欣,沈家立, Lucene分析與應(yīng)用 [M].北京:機(jī)械工業(yè)出版社,2008.[4]卜衛(wèi)軍,中國(guó)旅游市場(chǎng)發(fā)展呈現(xiàn)出多元化拓展的新趨勢(shì)[D]國(guó)際在線2012,11,(21).[5]張國(guó)潘,軟件工程[M]清華大學(xué)出版社。xxxxx[6]朱喜福,徐劍魁Java程序設(shè)計(jì)(第2版)[M]清華大學(xué)出版社. 2010[7]陳會(huì)安,Android SDK程序設(shè)計(jì)與開發(fā)范例[M][8](美)理查森(Richardson,.)Java高級(jí)編程(JDK6版)[M]人民郵電出版社[9]吳亞峰,索依娜Android核心技術(shù)與實(shí)例詳解[M]ISBN:9787121117923 2010第 29 頁 共 32 頁
點(diǎn)擊復(fù)制文檔內(nèi)容
物理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1