Publishing Android Wear 2.0 Apps

Download Publishing Android Wear 2.0 Apps

Post on 21-Jan-2018

654 views

Category:

Technology

2 download

Embed Size (px)

TRANSCRIPT

  1. 1. Publishing Android Wear 2.0 Apps 2017.05.09 Kenichi Kambara (@korodroid) shibuya.apk #14
  2. 2. About me Droidcon Stockholm 2014 Droidcon Spain 2014 Droidcon Amsterdam 2013 Droidcon Paris 2013 Smartphone & Tablet 2014 Spring Tokyo Developers Summit 2013 Summer & 2015 Mobile Dev Blog Android NTT (@korodroid)
  3. 3. Introduction Reviewing Android Wear 2.0 Publishing Android Wear 2.0 Apps
  4. 4. Reviewing Android Wear 2.0
  5. 5. Android Wear 2.0 (First major update) Google I/O 2016
  6. 6. Android Wear 2.0 Features New Launcher New Input Data Material Design Standalone Extension Google Fit Extension Android N Support Complication API New Notication
  7. 7. Android Wear 2.0 Devices LG Watch SportLG Watch Style +Many devices will receive 2.0 updates.
  8. 8. Publishing Android Wear 2.0 Apps
  9. 9. Installing Apps to Wear 1.x
  10. 10. Phone App Wear App || 1apk Wear App Phone App Wear App Installing Apps to Wear 1.x
  11. 11. Phone App Wear App Creating APK for 1.x =1apk dependencies { // wearApp project(':wear') } Phones build.gradle
  12. 12. Publishing Apps to Wear 2.x
  13. 13. Google Play Store for Wear 2.x
  14. 14. Publishing Apps to Wear 2.x Phone App Wear App Wear App Phone App 1apk 1apk
  15. 15. Creating APK for 2.x & 1.x android { publishNonDefault true ... defaultCong { minSdkVersion 23 } } Wears build.gradle Phone App Wear App 1apk (for Wear 1.x) productFlavors { wear1 { // Use the defaultCong value } wear2 { minSdkVersion 25 } } Wear App 1apk (for Wear 2.x)
  16. 16. Phones build.gradle dependencies { ... wearApp project(path: ':wear', conguration: 'wear1Release') } Phone App Wear App 1apk (for Wear 1.x) Wear App 1apk (for Wear 2.x) Creating APK for 2.x & 1.x
  17. 17. Conclusion Wear 2.0 ( ) Wear 2.0 Standalone apps iPhone Android (Play Store ) Wear 1.x 2.x
  18. 18. Appendix
  19. 19. - Please let me know if you have any requests such as technical speeches, technical writings and so on. Facebook:http://fb.com/kanbara.kenichi Google+:+Kenichi Kambara LinkedIn:http://www.linkedin.com/in/korodroid Twitter:@korodroid Thank you so much.