Can you include the output from adb logcat? Steve
On Sun, May 30, 2010 at 10:40 PM, XiaoDar <[email protected]> wrote: > i've this error that i was able to set my location on the emulator > with the emulator control > but when i put the atcual code on the phone, it gives me the error > that i have to force close my application. > > This is what i added for the gps code > > MyLocationOverlay myLocationOverlay = new > MyLocationOverlay(this,mapView); > myLocationOverlay.enableMyLocation(); > mapView.getOverlays().add(itemizedOverlay); > mapOverlays.add(myLocationOverlay); > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

