So just a heads up that Android uses NITZ events provided by a carrier
to properly set the system date and time.  Android also falls-back to
network NTP automatically when no cellular network is available.

http://en.wikipedia.org/wiki/NITZ

The time provided by currentTimeMillis() will typically be the best
available time, and it's what all of the services on the device use,
like Calendar and Alarm Clock.

j


On Mon, Jun 8, 2009 at 10:35 AM, Mike Lanin<[email protected]> wrote:
>
> Hi! I'm just trying to find the way to get current time. But I don't
> want to use currentTimeMillis() method, because the current time on
> device may be wrong. Is there any way to make some request to the
> Internet to get right current time?
> Thanks for advance.
> >
>



-- 
Jeff Sharkey
[email protected]

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