开发者

How do I check if the user is using the network time in Android?

开发者 https://www.devze.com 2023-02-16 11:25 出处:网络
how 开发者_高级运维do I check if the user is using the network time or if he changed it himself?

how 开发者_高级运维do I check if the user is using the network time or if he changed it himself?

Thanks


If I get your question correctly, checking the following setting would help:
http://developer.android.com/reference/android/provider/Settings.System.html#AUTO_TIME

You'll need two permissions: android.permission.WRITE_SETTINGS and android.permission.WRITE_SECURE_SETTINGS

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号