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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to