Friday, September 30, 2011

Re: [android-developers] How to get pure UTC time?

On Wed, Sep 28, 2011 at 11:52:18AM -0700, cool_zack wrote:
>
> I want to get UTC time. It should not change except for tiny
> adjustments that happen from Network. User modifications to the time
> on the device must not affect it.

What you're asking for is SNTP (often abbreviated as NTP). If all you
need is an app, search in the market for NTP. Most of the NTP apps
will set your device's clock (requires root).

There's an app, called "UTC Time" which displays local time and UTC
side by side. With a rooted device, it will also keep your device's
time set to whichever SNTP server you have it configured for.

If you need this for an app you're writing, let me know what you find,
as I have some ideas along that line, myself......

Later,
--jim

--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) | Remember your spelling rules, including:
spooky130u@gmail.com | I before E except after C
< Running FreeBSD 7.0 > |
ICBM / Hurricane: | BEING a native-born American, I don't
30.44406N 86.59909W | always notice our WEIRD spelling....

Android Apps Listing at http://www.jstrack.org/barcodes.html

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate