I have developed an application which uses mapView. I have used Google maps for android v1. I finished my app and now ready to publish but unfortunately Google stopped providing API key from March 18th 2013. Now i'm in a huge trouble.
So is there any way that i can obtain a API key for Google maps for android v1,
or
Can i use Google maps for android v2 key with out changing my code (Like ItemizedOverlays, Overlays, and Drawings on map)
Please Help !!!
Thanks in advance.
This the time you can migrate from current Version V1 to V2. Detailed explanation for Version V2 is here.
Follow steps by steps instruction from the tutorial.
1. You can try to address Google and ask them to provide you with a key, although I doubt they will agree doing that.
2. No you can't use most of the object you used in the Google Map API v1. Overlays are not supported in V2 and you should use polygones and polylines.
Related
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.
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 ?
i was using google maps api v1 and i could draw the map to a canvas and save it and now im using google maps api v2 because i got my debug key before march 13th and just this weekend was ready to sign and couldnt because i didnt know it was going to be discontinued, so, the questions i have are:
1: is static maps api the correct way to do what i was doing in google maps
api v1 draw the mapView to a canvas and compress the bitmap.
2: if it is does 25000 free requests pertain to me the developer or
each individual user of the app that i am making?
thank you for your time....
My guess is you confused Google Maps API v2 (also depracated) with Google Maps Android API v2.
The new API is here: https://developers.google.com/maps/documentation/android/
The Android API v2 has no such limits.
I have an application which has been built on google maps api v1. I went to upgrade to v2 so deleted my api key and created a new one.
I am sure that this is the debug key but still get the grey square on my application.
Is the original api still supported and if so is it possible to get an api key which will work with it or do the new keys only work with the v2 api?
Thanks
Is the original api still supported
Yes.
is it possible to get an api key which will work with it
For another couple of weeks, yes. Visit the Maps V1 documentation for the instructions and form to get a Maps V1 API key. This offer expires on March 3, 2013.
or do the new keys only work with the v2 api?
They are entirely separate keys. A Maps V1 key will not work with Maps V2, and vice versa.
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 :)