Loading docs/html/training/wearables/watch-faces/index.jd +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ Drawing Watch Faces</a></dt> Showing Information in Watch Faces</a></dt> <dd>Learn how to incorporate contextual information into your watch face.</dd> <dt><a href="{@docRoot}training/wearables/watch-faces/interacting.html"> Making Your Watch Face Interactive </a></dt> Creating Interactive Watch Faces</a></dt> <dd>Learn how to enable the user to interact with your watch face.</dd> <dt><a href="{@docRoot}training/wearables/watch-faces/configuration.html"> Providing Configuration Activities</a></dt> Loading docs/html/training/wearables/watch-faces/interacting.jd +2 −2 Original line number Diff line number Diff line Loading @@ -62,10 +62,10 @@ implementation.</p> reserves gestures such as drag and long-press for system UI elements. Therefore, the system does not send raw touch events to the watch face. Instead, the system forwards specific commands to the <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTapCommand(int, int, int, long)"> method. onTapCommand()</a> method. <p>The system sends the first command, <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"</a> <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"> {@code TAP_TYPE_TOUCH}</a>, when the user initially touches the screen. This event lets you provide visual feedback to the user on touch. Your app should not launch a UI when this event triggers. Launching a UI prevents drag events from opening the app Loading Loading
docs/html/training/wearables/watch-faces/index.jd +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ Drawing Watch Faces</a></dt> Showing Information in Watch Faces</a></dt> <dd>Learn how to incorporate contextual information into your watch face.</dd> <dt><a href="{@docRoot}training/wearables/watch-faces/interacting.html"> Making Your Watch Face Interactive </a></dt> Creating Interactive Watch Faces</a></dt> <dd>Learn how to enable the user to interact with your watch face.</dd> <dt><a href="{@docRoot}training/wearables/watch-faces/configuration.html"> Providing Configuration Activities</a></dt> Loading
docs/html/training/wearables/watch-faces/interacting.jd +2 −2 Original line number Diff line number Diff line Loading @@ -62,10 +62,10 @@ implementation.</p> reserves gestures such as drag and long-press for system UI elements. Therefore, the system does not send raw touch events to the watch face. Instead, the system forwards specific commands to the <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.Engine.html#onTapCommand(int, int, int, long)"> method. onTapCommand()</a> method. <p>The system sends the first command, <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"</a> <a href="{@docRoot}reference/android/support/wearable/watchface/WatchFaceService.html#TAP_TYPE_TOUCH"> {@code TAP_TYPE_TOUCH}</a>, when the user initially touches the screen. This event lets you provide visual feedback to the user on touch. Your app should not launch a UI when this event triggers. Launching a UI prevents drag events from opening the app Loading