Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Interactive watch faces
Hiroshi Hashimoto
2015/9/11
Shibuya.apk #3
Hiroshi Hashimoto
Android Developer
Twitter:@hi6484
It was updated last month.
Interactive watch faces
http://android-developers.blogspot.jp/2015/08/interactive-watch-faces-with-latest.html
Watch face so far
Not Interactive
However
Only one watch face which is Interactive
It was released more than six months ago
“ It is very interesting!
But for now, we don’t recommend.
Google wants to separate watch face
from watch-app in their eco...
Implement
Interactive watch faces
Very easy
Gradle


compile 'com.google.android.support:wearable:1.3.0'
JAVA CODE


WatchFaceService.Engine.setWatchFaceStyle()

.setAcceptsTapEvents(true)
@Override
public void onTapCommand(@TapType int tapType, int x, int y, long eventTime) {
switch (tapType) {
case WatchFace...
WatchFaceService.TAP_TYPE_TOUCH:
WatchFaceService.TAP_TYPE_TAP:
WatchFaceService.TAP_TYPE_TOUCH_CANCEL:
It is super easy to implement.

You should do it when you make watch-face(s).
Interactive watch faces
Upcoming SlideShare
Loading in …5
×

Interactive watch faces

860 views

Published on

Interactive watch faces

Published in: Engineering
  • Hello! I do no use writing service very often, only when I really have problems. But this one, I like best of all. The team of writers operates very quickly. It's called ⇒ www.HelpWriting.net ⇐ Hope this helps!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hello there! Get Your Professional Job-Winning Resume Here! http://bit.ly/topresum
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Interactive watch faces

  1. 1. Interactive watch faces Hiroshi Hashimoto 2015/9/11 Shibuya.apk #3
  2. 2. Hiroshi Hashimoto Android Developer Twitter:@hi6484
  3. 3. It was updated last month.
  4. 4. Interactive watch faces
  5. 5. http://android-developers.blogspot.jp/2015/08/interactive-watch-faces-with-latest.html
  6. 6. Watch face so far
  7. 7. Not Interactive
  8. 8. However
  9. 9. Only one watch face which is Interactive
  10. 10. It was released more than six months ago
  11. 11. “ It is very interesting! But for now, we don’t recommend. Google wants to separate watch face from watch-app in their eco-system.”
  12. 12. Implement Interactive watch faces
  13. 13. Very easy
  14. 14. Gradle 
 compile 'com.google.android.support:wearable:1.3.0'
  15. 15. JAVA CODE 
 WatchFaceService.Engine.setWatchFaceStyle()
 .setAcceptsTapEvents(true)
  16. 16. @Override public void onTapCommand(@TapType int tapType, int x, int y, long eventTime) { switch (tapType) { case WatchFaceService.TAP_TYPE_TAP: super.onTapCommand(tapType, x, y, eventTime); break; case WatchFaceService.TAP_TYPE_TOUCH: super.onTapCommand(tapType, x, y, eventTime); break; case WatchFaceService.TAP_TYPE_TOUCH_CANCEL: super.onTapCommand(tapType, x, y, eventTime); break; default: super.onTapCommand(tapType, x, y, eventTime); break; } }
  17. 17. WatchFaceService.TAP_TYPE_TOUCH:
  18. 18. WatchFaceService.TAP_TYPE_TAP:
  19. 19. WatchFaceService.TAP_TYPE_TOUCH_CANCEL:
  20. 20. It is super easy to implement.
 You should do it when you make watch-face(s).

×