Is the Map Api Key and Google Places Api the same?

送分小仙女□ 提交于 2019-12-05 01:46:45

No, each service (Google Maps V2 API and Google Places API) have a and will generate a different API Key. But you can't use/declare both keys in your manifest in the same time. When you are using Google Maps and Google Places just use the Google Places API key only (com.google.android.geo.API_KEY), and it will work for both.

Look at this link at android developers https://developers.google.com/places/android-api/signup#release-cert

You need an Android API key, not a browser key. You can use the same API key for your Google Maps Android API v2 apps and your Google Places API for Android apps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!