Did you enabled the GPS with Settings > Security & location > Enable GPS satellites ?
On Mon, Mar 16, 2009 at 7:56 AM, Kumar <[email protected]> wrote: > > Hi, Alex Thanks for your reply to my earlier mail, > I am unable to get the location updates when i use Network location > provider. > From the older posts i understood that to use NW location provider we > need to do the following. > > for GPS provider > lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1l, 1f, > TestGPS.this); > for N/W location provider > lm.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1l, 1f, > TestGPS.this); > > And in my Android manifest file i have included the permissions > ACCESS_COARSE_LOCATION( for N/W) and ACCESS_FINE_LOCATION (for GPS). > > But still the location is not updated. > > > Regards > Kumar. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

