Reputation: 1266
Hey, is there any easy way to get information when user will change time in android settings? I mean that I'm looking for better solution than thread which is checking the time every one minute and compare with current time.
Upvotes: 0
Views: 358
Reputation: 3745
I just posted a reply to thread time zone example not working in emulator which shows how you must be careful to specify action.TIME_SET in your manifest file, and filter for Intent.ACTION_TIME_CHANGED in your broadcast receiver.
Upvotes: 0
Reputation: 74790
You can listen to ACTION_TIME_CHANGED
or ACTION_TIMEZONE_CHANGED
or both broadcasts.
Upvotes: 0