If you take a look at Google's example of an analog watch face you can see that they are handling timezone change using BroadcastReceiver.
In documentation, it says that onTimeTick will be triggered by timezone change. Would it be enough to just update timezone data every time when onTimeTick is called?
The only problem that I see is that mCalendar.setTimeZone(TimeZone.getDefault()); will be called on every onTimeTick call, but it's not heavy operation, so I don't really see any problem.
from Handling change of a timezone in a watch face
No comments:
Post a Comment