On Mon, May 21, 2012 at 08:12:33AM -0700, lcs_godoy wrote:
> I mean, a way to change time and date without root access on android 
> programmatically.

Nope.  Unfortunately, you can't do it without root.  Sucks, too, because
the time on the AT&T network (which my phone uses) is fscked.  It's
generally off by at least 45 seconds.  Given the availability of
SNTP servers, including the ones at NIST, that's inexcusable for a
major interexchange carrier (IXC).

There is one thing you can do, though:  write a digital clock app
that sets its time from an SNTP server (use a Stratum 2, not
a Stratum 1 like NIST).  Pick one from the following link that's
closest to your location (one that's OpenAccess, of course).

http://support.ntp.org/bin/view/Servers/StratumTwoTimeServers

You still won't be able to SET the time, but at least you'll be
able to display the time.  Just remember not to update too often...you
shouldn't need to.  Just update every now and then to check the offset
relative to your system clock, and go from there.

Hope this helps.....

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)        | Remember your spelling rules, including:
[email protected]    |   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 [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