Hi,

To get the user location I have found two ways:

   1.

   http://developer.android.com/training/location/retrieve-current.html .
   This one is using what I think is the new Google Services release which
   uses a LocationClient to connect to Google Services and retrieve the
   location.
   2.

   http://developer.android.com/guide/topics/location/strategies.html . The
   other one is using the android.location class and a LocationManager to
   retrieve the location.

The thing is that I don't get the difference between using one way or the
other, which one is better??

And another question is that in the second way you can specify which
location provider you want to use, if the GPS provider or the Network
provider and in the first one you can't, but in the first paragraph it says
that it uses the location sensors that are currently active for the device.
Does this mean that I don't have to worry about choosing between both
services??


Can anyone guide me on this....

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to