在Android的谷歌地图API key` [英] Google map api key` in android

查看:135
本文介绍了在Android的谷歌地图API key`的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要显示在网页视图应用程序中的谷歌地图的页面将被保存的地方,并会从服务器获取的cordinates并使用谷歌地图显示的位置,所以我的问题是:我需要为Android API地图工作或本正常浏览网页API?
在我openion我想我必须注册应用程序并获取应用程序的API。

I need to show the google map in webview application the page will be stored local, and will get the cordinates from the server and will use google map to show the location, so my question is: do i need the android api for the map to work or the normal website api for this? In my openion i think i have to register the application and get the app api.

推荐答案

您可以使用的WebView和图形页面:

You can use WebView and MapView:

有关的WebView你不需要API密钥:

For WebView you Do Not need api key:

http://developer.android.com/reference/android/webkit/ WebView.html

有关图形页面需要地图API密钥:

For MapView you need map api key:

http://developer.android.com/resources/教程/视图/ hello-mapview.html.here
http://mobiforge.com/developing/story/using-google-maps-android

这篇关于在Android的谷歌地图API key`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆