- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
外文原文:
Mapping with MapView and MapActivity
One of Googles most popular services-after search of course-is Google Maps, which lets you find everything from the nearest pizza parlor to directions from New York City to San Francisco (only 2,905 miles!), along with supplying street views and satellite imagery.
Most Android devices, not surprisingly, integrate Google Maps. For those that do, there is a mapping activity available to users directly from the main Android launcher. More relevant to you, as a developer, are MapView and MapActivity, which allow you to integrate maps into your own applications. Not only can you display maps, control the zoom level, and allow people to pan around, but you can tie in Androids location-based services (covered in Chapter 32) to show where the device is and where it is going.
Fortunately, integrating basic mapping features into your Android project is fairly easy. And there is also a fair bit of power available to you, if you want to get fancy.
Terms, Not of Endearment
Integrating Google Maps into your own application requires agreeing to a fairly lengthy set of legal terms. These terms include clauses that you may find unpalatable.
If you are considering Google Maps, please review these terms closely to determine if your intended use will not run afoul of any clauses. You are strongly recommended to seek professional legal counsel if there are any potential areas of conflict.
Also, keep your eyes peeled for other mapping options, based on other sources of map data, such as OpenStreetMap (/).
Piling On
As of Android l.5, Google Maps is not strictly part of the Android SDK. Instead, it is part of the Google APIs add-on, an extension of the stock SDK. The Android add-on system provides hooks for other subsystems that may be part of some devices but not others.
NOTE: Google Maps is not part of the Android open source project, and undoubtedly there will be some devices that lack Google Maps due to licensing issues. For example, at the t
您可能关注的文档
- 电子电气工程专业毕业论文--无线话筒的设计.doc
- 电子科学与技术专业毕业论文--白色发光二极管用稀土钒、钼酸盐红色发光粉的固相反应法制备研究.doc
- 电子商务专业毕业论文--Flash动画设计.doc
- 电子商务专业毕业论文--福建中小型企业的电子商务应用策略.doc
- 电子商务专业毕业论文--基于中国网店顾客流失的原因及顾客保持策略研究.doc
- 电子信息工程专业毕业论文--Alamouti方案STBC性能分析.doc
- 电子信息工程专业毕业论文--JSP学生信息信用档案管理系统论文.doc
- 电子信息工程专业毕业论文--office控件的调用.doc
- 电子信息工程专业毕业论文--PLC在高楼恒压供水系统中的应用.doc
- 电子信息工程专业毕业论文--PLC在十字路口交通灯控制系统的应用.doc
- 电子信息工程专业外文翻译--数据库管理.doc
- 电子信息技术专业毕业论文--射频识别RFID系统总体设计及调试.doc
- 电子信息科学与技术专业毕业论文--基于WEB的网页留言簿设计.doc
- 电子信息科学与技术专业毕业论文--逆变电源的设计.doc
- 电子信息科学与技术专业课程设计报告--变调门铃.doc
- 电子信息科学与技术专业课程设计-简易信号发生器报告.doc
- 高分子材料与工程专业毕业论文--NRLLDPE共混体系性能的研究.doc
- 给排水专业--UASB装置调试运行报告.doc
- 给排水专业毕业论文--MBR小区中水回用工艺设计.doc
- 给排水专业毕业论文--基于PLC的工业污水处理控制系统的设计.doc
文档评论(0)