Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
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
Prochain SlideShare
Chargement dans…5
×

Interactive watch faces

860 vues

Publié le

Interactive watch faces

Publié dans : Ingénierie
  • 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!
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • Hello there! Get Your Professional Job-Winning Resume Here! http://bit.ly/topresum
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

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).

×