Android Wear Not Waking Screen
I'm working on a watch face and its up and running but when I put it on my 360 it becomes slow to respond to interactions. I should note that the screen wakes when a notification i
Solution 1:
You should not implement Runnable
to change time on your wearable. Use BroadcastReceiver
(Intent.ACTION_TIME_TICK
, Intent.ACTION_TIMEZONE_CHANGED
, Intent.ACTION_TIME_CHANGED
) and receive a "tick" when time change (consumes less battery power and CPU).
Moreover, you must managed screen states (screen dim, screen awake, etc.)
Here is a great exemple of Watchface for Android Wear: http://www.binpress.com/tutorial/how-to-create-a-custom-android-wear-watch-face/120
And a last tips, you can manage seconds for your watchface only when your wearable is awake (like postdaleyed but must be killed when your wearable go back to sleep mode).
Post a Comment for "Android Wear Not Waking Screen"