I generated Maps API key for android app using Google's manual via this page. Maps are working but in google console there are no stats. Do you now why and how to fix it?
Solved: As it turned out there are no limits to show maps on Andorid.
Related
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.
I need the Android maps v2 api key..
but I am only getting android key and not the android maps key v2.
where so I get those? Please give me detailed steps is possible.
I tried to integrate Google map API with android native application. But I got only grid only, I can't get the map. Please help me to solve this problem.
Grids are shown because your key is not correct.Use the true key for your project which is registered in Google Project Console.
If you are getting only grid instead of the map, usually it's Google Maps Authentication problem. To solve it I would suggest you to go over the following guide:
Google Maps API V2 key
Follow all the steps of the guide and reproduce the key.
Next, follow this guide as well:
Google Maps API V2
to create application that integrates Google Maps API V2. Don't forget to remove the current installed application completely because Google Maps V2 caches the key you used before.
I'm migrating an app from Google Maps Android API v2 to Google Maps Android API for Business following instructions here : https://developers.google.com/maps/documentation/business/mobile/android/config#migrate_an_existing_application
This should be very straightforward but unfortunately after replacing all the com.google.android.gms.maps references to com.google.android.m4b.maps, the app is compiling right but the map is not showing : I get a gray rectangle instead.
One possible reason (and actually one thing I don't understand so far) is that the API key is the exact same as the one I used for Google Maps Android API. Logically, there should be a personal code to enter somewhere, something like the Client ID / Crypto key I've been sent by Google.
Can anyone help me?
From the documentation link below ,
https://developers.google.com/maps/documentation/business/mobile/android/auth
there seems to be a hidden service named "Google Maps Mobile SDK service"
which will be enabled by Google Enterprise Support when you sign up for the Google Map Mobile SDK for Business.
Once we purchase Business licence, enable this service in our project
and generate a Map V2 API key using same procedure for non business version
we should be able to see the tiles loading on Android Device.
Note:This observation is only based on documentation link above and not an experimented one.
I'm developing an app. on SDK 17 which involves google maps but the problem is that when I use Google Maps v1 api key, the map works fine but when I try to use Google Maps android V2 api key nothing is displayed (only the google maps tiles appear). I have included the google play services library and searched for all possible reasons but couldn't find one. Please help!
1)Go to the Google APIs Console https://code.google.com/apis/console/#project:650847076763
2)In Services enable ‘Google Maps Android API v2’ and agree to the terms
3)In the left navigation bar, click API Access.
4)Click Create New Android Key....
Google maps api V1 is already deprecated use the maps api V2 instead.
Documentation page:
https://developers.google.com/maps/documentation/android/
Here is a quick start guide:
https://docs.google.com/document/d/19xKLZTrY1l6Sgu-V_IVSDIRZrcThjwxDrlm9rNr0tzo/edit
If you are having problems with MapFragment or the google play services library visit this thread it will help you.
https://docs.google.com/document/d/19xKLZTrY1l6Sgu-V_IVSDIRZrcThjwxDrlm9rNr0tzo/edit
Also I answered related problem that you have here.
How to/Error in declaring google-play-services-component
Happy coding :)