Ah found my answer I need to use currentTimeMillis On Thu, Jan 14, 2010 at 3:49 PM, Tommy Hartz <[email protected]> wrote:
> 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 <[email protected]>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 [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 >> > >
-- 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

