Is there any way to handle changes of system date/time on android? The goal of it is to control behavior of application if user changes datetime on purpose to make an app running during restrictive time.
Asked
Active
Viewed 4,912 times
1 Answers
5
There are broadcasts for those events. ACTION_TIME_CHANGED and ACTION_DATE_CHANGED
ACTION docs at http://developer.android.com/reference/android/content/Intent.html#ACTION_DATE_CHANGED
A potential bug and some implementation details available at http://code.google.com/p/android/issues/detail?id=2880

Mike dg
- 4,648
- 2
- 27
- 26