I have some trobule using Google Maps API on Android.
In onLocationChanged() I create an overlay and add it to the MapView, which works fine on the emulator using Android 2.1, but when I try to debug on a device, nothing happens. What could be the problem?
The device is Sony Ericsson Xperia Arc with Android 2.3.
Thanks, Ivan.
Real devices does not always get GPS signals, especially indoors. I guess you should use
NetworkProviderin your listener if GPS is not available.This is a good reference
http://android-developers.blogspot.com/2011/06/deep-dive-into-location.html