Have you looked up LocationManager in the documentation?

On Tue, Jan 19, 2010 at 11:05 AM, Nebbie <[email protected]> wrote:

> Hi,
>
> I need the current long and lat.
>
> getLastKnownLocation will not do the job as the info may be old.
>
> Can someone give me some code examples on how to turn on GPS and get
> the long and lat?
>
> thanks
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

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