Friday, 2 October 2015

Android Watch lifecycle


when you switch from one watch face to your watch face:



10-02 16:08:04.654    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onCreate
10-02 16:08:04.866    1747-1747/com.marksandspencer.watchtest D/AnalogWatchFaceService﹕ onSurfaceChanged
10-02 16:08:04.930    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:04.949    1747-1747/com.marksandspencer.watchtest D/AnalogWatchFaceService﹕ onVisibilityChanged
10-02 16:08:04.964    1747-1747/com.marksandspencer.watchtest D/AnalogWatchFaceService﹕ onVisibilityChanged
10-02 16:08:04.987    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:08:04.987    1747-1747/com.marksandspencer.watchtest D/AnalogWatchFaceService﹕ onVisibilityChanged
10-02 16:08:05.001    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:05.038    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onPropertiesChanged
10-02 16:08:05.062    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onPropertiesChanged
10-02 16:08:05.083    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onPropertiesChanged
10-02 16:08:05.083    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:05.097    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:06.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:06.010    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:07.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:07.013    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:08.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:08.017    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:09.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:09.018    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:10.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:10.022    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:11.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:11.007    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:12.001    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:12.011    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:13.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:13.014    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw
10-02 16:08:14.002    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ handleMessage
10-02 16:08:14.017    1747-1747/com.marksandspencer.watchtest V/AnalogWatchFaceService﹕ onDraw







after the watch enter the Ambient mode:


10-02 15:54:32.347  28576-28576/? V/AnalogWatchFaceService﹕ onAmbientModeChanged
10-02 15:54:32.351  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 15:54:32.357  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 15:55:00.014  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 15:55:00.043  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 15:56:00.012  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 15:56:00.029  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 15:57:00.013  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 15:57:00.034  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 15:58:00.009  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 15:58:00.040  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 15:59:00.014  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 15:59:00.054  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 16:00:00.015  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:00:00.034  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 16:01:00.027  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:01:00.062  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 16:02:00.017  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:02:00.048  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 16:03:00.013  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:03:00.033  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 16:04:00.015  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:04:00.045  28576-28576/? V/AnalogWatchFaceService﹕ onDraw
10-02 16:05:00.012  28576-28576/? V/AnalogWatchFaceService﹕ onTimeTick
10-02 16:05:00.031  28576-28576/? V/AnalogWatchFaceService﹕ onDraw









No comments:

Post a comment