On Sat, Feb 15, 2014 at 10:37 AM, Abhilash Baddam <
[email protected]> wrote:

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


Read the very first paragraph of the second link you posted.

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??


Correct: Read the description of the API:
http://developer.android.com/google/play-services/location.html

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to