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.

Android Wear 試玩

1,462 views

Published on

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

Published in: Technology
  • Be the first to comment

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

×