I am able to see Map in emulator but once I load app on device map does not show up.
Emulator have target as google api 1.6 and device have android 1.6 loaded.
Is this diffrence causing issue?
please help and thanks in advance.
I am able to see Map in emulator but once I load app on device map does not show up.
Emulator have target as google api 1.6 and device have android 1.6 loaded.
Is this diffrence causing issue?
please help and thanks in advance.
Are you just seeing gray tiles? In that case it's almost definitely the API key that's wrong. The Emulator uses the debug
keystore, with androiddebugkey
, so you should create an API key for that. Remember to change it when you publish the app to the market =)
While the problem is most likely the one that Mr. Hedlund suggested...if the built-in Google Maps application also does not work, it is likely to be a problem accessing the Google Maps tile server from the emulator over the Internet. You would need to discuss this with your IT department.
I had the same problem with gray tiles, even though I had created/verified the API key, and had previously had the map working for some time. Turns out at some point, I edited the manifest file and moved the permissions lines. They apparently need to go BEFORE the application element. Thanks to Alan LaMielle (link) for that solution!