【问题标题】:Is there a way to find age of an Android device有没有办法找到Android设备的年龄
【发布时间】:2016-09-07 08:42:41
【问题描述】:

我想知道设备使用了多长时间。我不想要正常运行时间,我想要设备首次启动后经过的实际时间

【问题讨论】:

标签: android systemtime


【解决方案1】:

你可以试试:

Log.i("ManuFacturer :", Build.MANUFACTURER);
Log.i("Board : ", Build.BOARD);
Log.i("Diaply : ", Build.DISPLAY);
Log.i("Time : ", Build.TIME);

很遗憾,Build.TIME 将在安装新 ROM 时被重置。

参考:Retrieve Android Device Manufactured date Programatically?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多