Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You can use the SystemClock.elapsedRealtime() API to get the number of milliseconds since the phone was booted.
Thanks. I am already using that API. What I need to know is the time when the system itself was booted so that I can persist it and compare it to the last time that the system was booted and determine if the system was booted since my app was last launched.
Or to put it more generally, is it possible to determine by some other means whether the system was been rebooted between launches of an app.