- 4
- 0
- 约7.09千字
- 约 12页
- 2018-07-05 发布于天津
- 举报
GoogleMapsAndroidAPIkey-国立高雄大学-资讯工程学系
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing行動計算 /maps/documentation/android/ Introduction to the Google Maps Android API v2 The API automatically handles access to Google Maps servers data downloading map display, and response to map gestures Also use API calls To add markers, polygons, and overlays to a basic map, and To change the users view of a particular map area * * Distributed as part of the Google Play services SDK Encapsulated in the MapFragment class, an extension of Androids Fragment class, rather in the Activity class Able to add a map as a piece of a larger Activity Able to implement them by extending the Android standard Activity class, rather than extending the MapActivity used in version 1 Using vector tiles: data representation is smaller, with less bandwidth Caching is improved, so users will typically see a map without empty areas. Supporting 3D maps Google Maps Android API v2 Improvements ?Overall Process of?Adding a Map to an App Step 1. Download and configure the Google Play services SDK The Google Maps Android API is distributed as part of this SDK Step 2. Obtain an API key To do this, you will need to register a project in the Google APIs Console, and get a signing certificate for your app Step 3. Specify settings in the Application Manifest Step 4. Add a map to a new or existing Android project Run the Sample Code - com.example.mapdemo * /maps/documentation/android/start Run the Sample Code - com.example.mapdemo Make sure Google Play services added as an Android library project Select File Import Android Existing Android Code Into Workspace and click Next Select Browse..., enter share/google-play-services_lib, and click Finish View the sample code, or run the sample app locally Sample code is bundled with the Google Play services SDK Select File Import Android Existing Android Code Into Workspace and click Next. Select Browse..., enter android-sdk-folder/extras/google/google_play_services/samples/maps, an
您可能关注的文档
- KarenCarter陶氏化学建筑事业亚太区及印度总经理创新合作.PPT
- M神经细胞中的狂犬病毒.PPT
- 2017年南平初中生物学科毕业班教师培训研讨会在南平召开.DOC
- not非LifeANDScience表示在所有字段中检索.PPT
- PDCA循环-兰州大学第二医院.PPT
- SlideIMICAMS资源检索系统-查找数据库.PPT
- ulcerativecolitisUC溃疡性结肠炎-西安医学院.PPT
- TG低密度脂蛋白胆固醇.PPT
- β受体阻断剂的SAR-23β受体阻断剂的侧链在.PPT
- 上海医师电子化注册医师常见问题及解答-上海卫生监督所.DOC
- 中国国家标准 GB/T 6675.9-2025玩具安全 第9部分:化学及类似活动的实验玩具.pdf
- 《GB/T 6675.9-2025玩具安全 第9部分:化学及类似活动的实验玩具》.pdf
- GB/T 46975-2025婴童用品 便携式婴儿睡篮技术要求.pdf
- 中国国家标准 GB/T 46975-2025婴童用品 便携式婴儿睡篮技术要求.pdf
- 《GB/T 46975-2025婴童用品 便携式婴儿睡篮技术要求》.pdf
- 《GB/T 6675.14-2025玩具安全 第14部分:指画颜料要求和测试方法》.pdf
- GB/T 6675.14-2025玩具安全 第14部分:指画颜料要求和测试方法.pdf
- 中国国家标准 GB/T 6675.14-2025玩具安全 第14部分:指画颜料要求和测试方法.pdf
- 中国国家标准 GB/T 33772.3-2025质量评定体系 第3部分:印制板及层压板最终产品检验及过程监督用抽样方案的选择和使用.pdf
- 《GB/T 33772.3-2025质量评定体系 第3部分:印制板及层压板最终产品检验及过程监督用抽样方案的选择和使用》.pdf
原创力文档

文档评论(0)