Glad this thread is still alive and silly.

Seriously, take a look at the LocationManager class in the docs.
There are constants for specifying GPS_PROVIDER, NETWORK_PROVIDER, or
PASSIVE_PROVIDER.  The accuracy will depending on the provider but the
same code for determining position (and speed) will be the same via
the LocationListener class and Location class.  The "Unlocking
Android" book from Manning Publications has an example.  You may be
able to download the example from the Manning site.

As for the 'poor signal in a car' argument, I accidentally dropped my
phone inside a small airplane and could not find it. The plane had
those silver sunlight reflectors over every window after landing.  I
used MyLookout to find its position and the GPS was able to obtain a
position when the phone was under the seat and in the cockpit with
reflective shades.

On Feb 9, 8:38 pm, metal mikey <[email protected]> wrote:
> So, summarising: just hold the phone near the window.

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