Totic
Totic

Reputation: 1291

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

how do I check if the user is using the network time or if he changed it himself?

Thanks

Upvotes: 2

Views: 734

Answers (1)

Sergey Stefurak
Sergey Stefurak

Reputation: 161

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

Upvotes: 1

Related Questions