资源描述:
《android毕业设计方案外文资料翻译.docx》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、android毕业设计方案外文资料翻译毕业设计(论文)外文资料翻译外文出处MarkAndroid2Chapter33MappingwithMapViewandMapActivityOneofGoogle'smostpopularservices-aftersearchofcourse-isGoogleMaps,whichletsyoufindeverythingfromthenearestpizzaparlortodirectionsfromNewYorkCitytoSanFrancisco(only2,905miles!),alongwithsupplyingstr
2、eetviewsandsatelliteimagery.MostAndroiddevices,notsurprisingly,integrateGoogleMaps.Forthosethatdo,thereisamappingactivityavailabletousersdirectlyfromthemainAndroidlauncher.Morerelevanttoyou,asadeveloper,areMapViewandMapActivity,whichallowyoutointegratemapsintoyourownapplications.Notonly
3、canyoudisplaymaps,controlthezoomlevel,andallowpeopletopanaround,butyoucantieinAndroid'slocation-basedservices(coveredinChapter32)toshowwherethedeviceisandwhereitisgoing.Fortunately,integratingbasicmappingfeaturesintoyourAndroidprojectisfairlyeasy.Andthereisalsoafairbitofpoweravailableto
4、you,ifyouwanttogetfancy.Terms,NotofEndearmentIntegratingGoogleMapsintoyourownapplicationrequiresagreeingtoafairlylengthysetoflegalterms.Thesetermsincludeclausesthatyoumayfindunpalatable.IfyouareconsideringGoogleMaps,pleasereviewthesetermscloselytodetermineifyourintendedusewillnotrunafou
5、lofanyclauses.Youarestronglyrecommendedtoseekprofessionallegalcounselifthereareanypotentialareasofconflict.Also,keepyoureyespeeledforothermappingoptions,basedonothersourcesofmapdata,suchasOpenStreetMap().PilingOnAsofAndroid,GoogleMapsisnotstrictlypartoftheAndroidSDK.Instead,itispartofth
6、eGoogleAPIsadd-on,anextensionofthestockSDK.TheAndroidadd-onsystemprovideshooksforothersubsystemsthatmaybepartofsomedevicesbutnotothers.NOTE:GoogleMapsisnotpartoftheAndroidopensourceproject,andundoubtedlytherewillbesomedevicesthatlackGoogleMapsduetolicensingissues.Forexample,atthetimeoft
7、hiswriting,theArchos5AndroidtabletdoesnothaveGoogleMaps.Byandlarge,thefactthatGoogleMapsisinanadd-ondoesnotaffectyourday-to-daydevelopment.However,bearinmindthefollowing:YouwillneedtocreateyourprojectwithasuitabletargettoensuretheGoogleMapsAPIswillbeavailable.TotestyourGoogleMa