Hmm ok so how would you subtract the current time from that time to see if
it is greater than say 20 minutes?

On Thu, Jan 14, 2010 at 3:45 PM, Mark Murphy <mmur...@commonsware.com>wrote:

> Tommy wrote:
> > Hey devs,
> >
> > Is there a way to get the time or date stamp of the last time the GPS
> > was updated?
>
> Call getTime() on the Location object. "Returns the UTC time of this
> fix, in milliseconds since January 1, 1970. "
>
>
> http://developer.android.com/reference/android/location/Location.html#getTime%28%29
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.1 Available!
>
> --
> 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<android-developers%2bunsubscr...@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

Reply via email to