Your question isn't really clear: are you asking, how do I know which
to use?  You can query to determine which location providers are
available.  You can also provide a set of Criteria objects, and ask
the system to find the provider which matches you best.  There are a
host of other options, passive providers, etc...  Typically people
just use a simple requestLocationUpdates() or requestSingleUpdate(),
though you can always just do a getLastKnownLocation (or maybe it's
just getLastLocation, oh well, you'll find it..).

I suspect you'd like to find which are available on the device, I
don't know about vzw, or google, are they just in API, then you should
be able to know based on API level?  (They sound like custom libraries
to me..), but I suspect it shouldn't be too hard to compile.  In any
case, you'll probably want to abstract this somehow..

Kris

On Mon, Jan 9, 2012 at 9:10 PM, jaggu <[email protected]> wrote:
> Hi how to test the for the location service in android . i have
> figured about the 2,3 points but how to test the
>
>
> 1.VZW Location Services: ?
>
>
> 2. GPS: Uses GPS satellites.
>
>
> 3. Google Location Services: Uses a combination of IP address and
> wi-fi access points to determine your location.
>
> in samsung galaxy s2 mobile can any one tell me brefiely about how to
> test what is the procedure
>
>
>
> Thanks
> Jagadeesh
>
> --
> 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 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

Reply via email to