[android-porting] Re: Set system time from radio

2010-03-05 Thread ms12
Ok, got that to work, thanks. Discovered that the time comes back in local time zone, not UTC. Android code assumes UTC. The timezone comes with it of course, but if you don't know if it has already been applied, I would think it difficult to determine in the code. Is there a standard for this? M

Re: [android-porting] Re: Set system time from radio

2010-03-06 Thread David Turner
The Android code only assumes UTC, except that you can use a small extension to the NITZ string to encode the timezone too. See the comment and implementation in handleOfInit() in external/qemu/telephony/android_modem.c here: http://android.git.kernel.org/?p=platform/external/qemu.git;a=blob;f=tel

Re: [android-porting] Re: Set system time from radio

2010-03-07 Thread M&M stich
Found handleEndOfInit() and looked thru the code, and unless I'm mistaken (likely, I'm new at this) this code is for the emulator. I think I'm guilty of being overly succinct in my questions and not providing highly relevant information. I'm running Android 1.6 on real hardware, a Beagleboard, co