u cannot get gps signals in an emulator u need to give gps inputs from ddms if u wanna get some gps signals in ur program wen u run it from the emulator
Regards, Saurav Mukherjee. On Sat, Oct 17, 2009 at 5:31 PM, Auguste Lunang <[email protected]>wrote: > Hi, > I can't display my map on android emulator. > i have, > locationManager = (LocationManager) > getSystemService(Context.LOCATION_SERVICE); > location = locationManager.getLastKnownLocation("gps"); > > After those lines,the Log shows null for location instead of the object > location > > How can i fix that? > Thx > Auguste > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

