Google API Key still in use after deletion - android

I'm having a weird issue with an app and maybe there's something I don't know that's causing it...
I did a simple app (OldApp) which uses Google Maps and it worked fine. I then tried to do a second app (NewApp) using Maps, so I got a new API Key for it, renamed the packages, etc.
My problem was that the map wasn't being shown in NewApp, I just had a light yellowish image with Google's logo. After checking that everything was ok with the keys and names, I deleted the key for the OldApp that I'd setup before, to make sure it wasn't somehow "blocking" something.
Now, my OldApp (for which there's no key signed) is still showing the map ! I even set the key as :
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="adf" />
Meanwhile my NewApp is still not working.
So, is there a reason for this behaviour ? Does it take some time for the keys to update maybe?
Thank you in advance, and let me know if it's not clear or if there's something I could add.

As to why it kept working, the answer was provided here : https://stackoverflow.com/a/20049864/3802589 , basically the key was still in memory.
As to why the new map wouldn't load the map, it was just because Wifi Direct kept turning off Wifi and therefore it couldn't load the tiles.

Related

APIKey Android Google Map

I'am using Android Studio right now, and I decied to make an app that use Google Map API.
My app is very simple, I have a AutoCompleteTextView. Everytime I write something in AutoCompleteTextView, it will automatic suggest some location that is the same with the name I text.
I follow how to get the api key of google, and I did exactly. But when I text, it not suggest anything.
I thought my code is wrong, but when I change my Api key by another api key of someone I took in the internet. It worked fine.
Please tell me why ?
Sorry about my English, it is not native.
This problem are solved.
Just because I forgot create API by browser

Google Maps Fragment, not blank, markers there but no actual map displayed

I have a problem loading a map.
I am attempting this tutorial on Vogella.com
I initially had a problem with my SHA1 from the debug.keystore. I used this value to generate an API key that would only produce a completely blank map.
I followed the advice of #Analizer on this post: stackoverflow.com/questions/15607295/ and produced a totally different API which I copied into my manifest.
Now I get the following map, the markers from the tutorial are shown, but no actual map?
Click for image (I don't have a reputation of 10 yet so cannot directly post them!)
Can anyone advise?
Edit: I should mention I am using IntelliJ IDEA
Edit: In case anyone has the same issue, the method in point 1. of my original question was the correct answer, I had to wait approx 1hr between generating the key and seeing a map!
use SHA1 from the eclipse :
Windows -> preferences -> Android -> Build
and then generate new api key and use it to display map.
In case anyone finds this through google, the method in point 1. of my original question was the correct answer, I had to wait approx 1hr between generating the key and seeing a map!

Dont find any solution, maps in android v2 dont shows up

I have seen a lot of posts, but when I pass the .apk project to a friend, my friend cannot see the maps. It only shows the +- arrows and a gray background. On my phone and tablet it works fine, but on his phone it does not.
Can help me with this, or pass me a link to a similar problem?
make sure your maps api key is setup correctly. You probably have a missing mapsapi key or an invalid one.

Adding Makers To Google Maps V3 When No Data Connection

I am in a situation where, even if there are no maps being displayed due to no connection (the screen is just blank with not features available), I still want to add the markers and polylines onto the Google Map.
Is this possible?
It seems that if there is no data and no maps have been loaded that nothing is displayed?
THANKS IN ADVANCE
This issue is described here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=5017
There seems to be a workaround of not using ACCESS_NETWORK_STATE.
They will probably fix it completly in the next release.

Index Out of Bounds suddenly for some users in Mapview ANDROID

java.lang.ArrayIndexOutOfBoundsException
at com.google.googlenav.map.Map.drawMapBackground(Unknown Source)
at com.google.googlenav.map.Map.preLoad(Unknown Source)
at com.google.android.maps.MapController.animateTo(MapController.java:234)
at com.google.android.maps.MapController.animateTo(MapController.java:225)
Code has been working beautifully for months, now suddenly I am getting reports of the following bug. The API KEY is correct, and works for me so I don't think that's it.. but I suppose I could resubmit the MD5 to Google, but fear that will change the KEY and break everyone who hasn't upgraded.
I don't know why this is happening, as its not in code that I control, I do call an aminate to user location but validate that the location is not null before I call it, so I don't think that's it.. Is it possible that UserLocation can exist but have invalid values? API says it should be NULL if it hasn't been set yet, but I've been burned before by manufacturers who don't follow the API properly.
I Really wish The Android Marketplace would include device information with bug reports.
I don't know what you are exactly looking for, b'coz you didn't provide any code..
but i am facing the same problem in zoom in/out ,strong text and i am finally got the answer in Android Cluster Mapping.
look for it ..it might help you.
one of the i followed:
Android Maps Point Clustering

Categories

Resources