Separate Keys for Google APIs - android

I am new to using googles API so please excuse me in advance if the question seems stupid.
If my Android Application makes use of Google Places API and Google Maps API do I need to get a separate API Key for both APIs or can we use one key for both APIs?
Thank you

You can use one API Key for both,just you have to enable both API service in library tab in google console.

Related

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

I hope I don't get a down vote, English is not my first language that is why I get confused by api documentations. I am confused if I need to generate different api keys for "Google Maps Android API" and "Google Places API for Android"
I am asking because I am sucessfully rendering maps from my android app using google maps android api but when I try the using the code of the official google android places api example (PLACE PICKER) it is failing without throwing any errors. It renders the activity properly but when I click the find places button it just returns me to my previous activity with no error. I am guessing it might be an api key issue that is why I am asking if I need two different api keys for this?
No, each service (Google Maps V2 API and Google Places API) have 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.

Google places api's in android

Android Google Places APIs,
How can I show Google Places and my particular places from server side in an Android map view.
please find this link where you need to create your api key and you to use that key in your project https://developers.google.com/maps/documentation/android-api/

Get Google Map V1 Key android

Since last few months I was making an application which incorporates Google Maps, and I was using Google Maps V1 in it. Yesterday I formatted my system, so the key which I was earlier using API V1 for the Google Maps is not working now for the development process.
Now I am trying to make the key for the API v1 again, but I am unable to do so. Can anyone please help me out. Whether I have to shift on Google Map API V2 now ??
I have generated one key using API V2 also. This is also not working. My code is written for Google Maps V1.
Google Maps API v1 is now deprecated so no more keys unfortunately...
Note: Version 1 of the Google Maps Android API has been officially
deprecated as of December 3rd, 2012. This means that from March 18th,
2013 you will no longer be able to request an API key for this
version. No new features will be added to Google Maps Android API v1.
However, apps using v1 will continue to work on devices. Existing and
new developers are encouraged to use Google Maps Android API v2.
from https://developers.google.com/maps/documentation/android/v1/
If you somehow had managed to save a copy of your debug.keystore file.. you need not have to use the Google Maps Android API v2..
Now no other option but to use the new API... Give it a try they have made things easier now.
One good and tricky answer from my side too.
As you have your own key ( but because you do not have the debug.keystore for the previous configuration), so you cant use your key. In this case you can do the below task :
Take the debug.keystore and debug API key for Google maps API V1 from anyone else system who has done google maps v1 and use that key for your development purpose, once it is complete and you have checked it, deploy it with the key which you already have for the application.
Let me know if you have any queries ?

Can I use Android Google Map API without Useing Maps from Google

I would like to use own WMS/WFS Services, like Orthophotos. Is it possible to use the Google Android Map API to load this Maps ?
Because when using the Google Maps comercial, I have to buy a Google Premier licence right ?
Is it possible to use the Google Android Map API to load this Maps ?
No, you can't pass your own maps to Google Maps framework on Android.
You can use special tools for such purposes. Read this answer.
Because when using the Google Maps comercial, I have to buy a Google Premier licence right ?
No. For Android you can use Google Maps API even if your app is payed. Read more here
I think it's not possible to; I think Google API's can only be used for Google services. Why you have to look for an another service when Google provides the easiest map services and Google API's are free and no need to pay for it.
I think you can't. If you want to avoid google, try this:
OSMdroid
Mapsforge
MapQuest
It's free

How to use Google MapView in android apllication?

I am trying to use MapView provided by Google API. I am not able to import the package i saw in google page we need to get a key for using google API do anyone know how to use Google API.
Thanks in advance...
Read this blog entry. There it is explained how to setup and use the map API of Google. The API key is free.

Categories

Resources