Android Wear 試玩

1,356 views
1,231 views

Published on

單純地分享試玩心得,資料來源皆來自:http://developer.android.com/wear/index.html

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,356
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
59
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Android Wear 試玩

  1. 1. Android Wear Developer Preview 林致宇 2014/03/24 http://developer.android.com/wear/index.html
  2. 2. Android Wear
  3. 3. Outline •  Preparation •  Programming •  Demo
  4. 4. Outline •  Preparation •  Programming •  Demo
  5. 5. Preparation •  Android Development Environment – ADT Bundle (Eclipse) – Android Studio 1.  Sign Up for the Developer Preview 2.  Install the Android Wear System Image 3.  Android Wear Emulator 4.  Android Wear Preview App
  6. 6. (1) Sign Up for the Developer Preview
  7. 7. (2) Install the Android Wear System Image 1.  Lunch Android SDK Manager 2.  Android SDK Tools ( ≥ 22.6) 3.  Android 4.4.2 è Android Wear ARM EABI v7a System Image 4.  Extras/Android Support Library 5.  Install
  8. 8. Troubleshooting •  ADT Update Problem – Help è Install new software – ADT update site •  http://dl-ssl.google.com/android/eclipse/ – Developer tools
  9. 9. (3) Set Up the Android Wear Emulator
  10. 10. (3) Set Up the Android Wear Emulator
  11. 11. (4) Set Up the Android Wear Preview App
  12. 12. (4) Set Up the Android Wear Preview App You need an Android 4.3 (above) device. You cannot use Emulator.
  13. 13. (4) Set Up the Android Wear Preview App
  14. 14. (4) Set Up the Android Wear Preview App •  /sdk/platform-tools/ – adb –d forward tcp:5601 tcp:5601
  15. 15. Outline •  Preparation •  Programming •  Demo
  16. 16. Notification
  17. 17. Gmail Line AndroidWear001 AndroidWear002 Browser
  18. 18. Programming •  Add Libraries to Your Project •  Creating Notifications for Android Wear •  Receiving Voice Input from a Notification •  Adding Pages to a Notification •  Stacking Notifications
  19. 19. Add Libraries to Your Project •  /libs – android-support-v4.jar – wearable-preview-support.jar
  20. 20. Programming •  Add Libraries to Your Project •  Creating Notifications for Android Wear •  Receiving Voice Input from a Notification •  Adding Pages to a Notification •  Stacking Notifications
  21. 21. Creating Notifications for Android Wear
  22. 22. Creating Notifications for Android Wear
  23. 23. Programming •  Add Libraries to Your Project •  Creating Notifications for Android Wear •  Receiving Voice Input from a Notification •  Adding Pages to a Notification •  Stacking Notifications
  24. 24. Receiving Voice Input from a Notification
  25. 25. Receiving Voice Input from a Notification

×