Thursday, July 14, 2011

Re: [android-developers] Is there a way to get the date and time of first boot

On Thu, Jul 14, 2011 at 6:55 PM, Thomas Economous <econ0003@gmail.com> wrote:
> The problem is it's too close to the ship date and changes to the firmware
> are not permitted. So even a small change like you mentioned is not
> currently possible. In the future we could do something in the initial boot
> like you mentioned.

Hmmmm...

You might check the SETUP_WIZARD_HAS_RUN setting in Settings.System.
It says that "nonzero" means the wizard has run, and it is possible
that this is actually some sort of timestamp. Unfortunately, the
wizard is not part of the open source code AFAICT, so I can't see
where that's getting set.

Beyond this, my prior suggestions, or scanning stuff like MediaStore
for the oldest dates, I'm out of ideas. The OEM might have better
contacts into Real Live Googlers than this list, though, and they may
have some suggestions.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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

No comments:

Post a Comment