I had working code showing my location on a nice little google map. with out changing any map code suddenly the map is completely blank (a grey grey square) thats it..
using google map api for android v2. all set up with an api key and everything.. it was working!
This can happen for a few reasons. Did you sign this version of the application with a different certificate? Are you sure your device has an internet connection? You can also check the logs as Google Maps usually spams a bunch of information about why it is unable to connect. I run into this issue sometimes when my phone is running internet through a proxy, you might want to check that as well.
Related
I have created android application that uses Google Maps, ans it works fine here in Palestine(Middle east). When someone try it on UK either on the emulator or on the real device it doesn't show any map!
What is the possible problem ?
Your UK tester doesn't have an Internet connection, or is using a different APK than the one you tested (and therefore you might have a problem with your signing key and Maps API key), or is testing using a device that does not legitimately have Google Maps on it, or something along those lines.
I try with google maps application in developer site.
Generate api key and runs it in emulator smooth.
The problem is when I deploy it in real device it shows only grid checks.
I also generate release key and pasted the key in layout mapview.
Whats wrong with that.
Kindly help me with brief explanation.
The only thing I can think of is the data connection. Has the phone got a good reception? Does the Google Maps app work on the phone?
I am displaying maps in my Android Application. Nowhere in my application I have explicitly invoked www.google-analytics.com, yet I see lots of request going to this website.This is causing my application to be very slow. Also many times I get errors like Unresolved host www.google-analytics.com.
Is it mandatory for the functioning for Google Maps in Android or can we turn this off?
Thanks
I guess if Google Maps is using some Google analytics internally, there isnt much that u can do
I have to display Google Map in my android app
I followed the tutorial on android.com for this, obtaining MAP API keys & all.
Now the problem is : earlier it was working fine and maps were displayed properly but now since a few days, We cannt see the map. When it launches it shows the markers over it but the background is blank, only the boxes are appearing. Can someone please tell what's happening .
Thanks.
Either:
You have the wrong Maps API key for your signing key, or
The device or emulator does not have Internet access, or
You got rid of the INTERNET permission, or
Something else is blocking your app's access to the Maps servers (e.g., firewall)
i have made an android application and in it , there is one scenario when the user clicks on an address and that address shows up on google maps.
Now when i tested the application on the emulator, the google maps did load properly, but now that i am trying the same on my htc desire z, the maps is not loading.
Although the maps application which came built-in in my phone is loading google maps correctly.
what could be the problem? why is my application not able to load the map view?
thank you in advance.
EDIT: i have obtained a google map api key and have included it in the mapview that i am using.i have added overlays and etc. It is all showing fine on the emulator , but on my device it is not showing any maps. The overlays are visible.
There is a difference between a debug maps API key and a release maps API key. With the first it will only run on the emulator.
Unless you have visited the Google site twice (once to get a key which matches the debug keystore and once to get a key which matches your release keystore) then you haven't got a release key and your app won't run on real device.
Our Android developers were also facing this problem. We solved the problem like this:
We generated API keys from each machine and added the Key to their respective main.xml file. So each developer had a separate api key.
We started the emulator from the command line using the android "emulator" command which is located in the tools directory and started with the proxy option instead of starting it from eclipse, eg :
E:>emulator -avd New_Device -http-proxy http://202.0.0.203:808
Most probably, you didn't register your application into the system. This is the link.
http://code.google.com/android/add-ons/google-apis/maps-api-signup.html
If this is not the case, please provide the error details from Logcat.
You need to get an API key from Google.
Here is a good article that explain how to obtain API key.