Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
Posts: 5
Registered: ‎04-18-2013
My Device: PlayBook 16GB, White Z10
Accepted Solution

"Boot Time" on BlackBerry 10

Is a way to read "Boot Time" as seen on "Settings->About->Hardware" in BlackBerry 10 using BlackBerry 10 Native or Cascades?

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: "Boot Time" on BlackBerry 10

I'm not sure if there's a callable API for this but you probably don't need one:

$ cat /var/boottime.txt
Apr 06 19:57:52 EDT 2013

Just read that file and you should be able to use it in your app.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
New Contributor
Posts: 5
Registered: ‎04-18-2013
My Device: PlayBook 16GB, White Z10

Re: "Boot Time" on BlackBerry 10

Thanks!!!