Re: [android-developers] Need current location long and lat

2010-01-19 Thread Frank Weiss
Also, note that getting a fix is intermittent, hence the timestamp.

On Jan 19, 2010 1:23 PM, "TreKing"  wrote:

Have you looked up LocationManager in the documentation?

On Tue, Jan 19, 2010 at 11:05 AM, Nebbie  wrote:

> > > Hi, > > I need the current long and lat. > > getLastKnownLocation will
> not do the job as the inf...
> --
> 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
>



-- 

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

Re: [android-developers] Need current location long and lat

2010-01-19 Thread TreKing
Have you looked up LocationManager in the documentation?

On Tue, Jan 19, 2010 at 11:05 AM, Nebbie  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 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
>



-- 

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

[android-developers] Need current location long and lat

2010-01-19 Thread Nebbie
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 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