Download - Dissecting Android Wear
![Page 1: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/1.jpg)
Dissecting Android Wear
24th June 2014Nanik Tolaram
naniktolaram.complus.google.com/+NanikT
![Page 2: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/2.jpg)
Thank You !
![Page 3: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/3.jpg)
About Customising Full Android stack and
developing apps
Hardware ARM – Freescale/AmlogicX86 – AMD / IntelTablet/Media Player form factor
Hardware / Kernel Tinkerer
![Page 4: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/4.jpg)
Questions
How the whole thing works ?
Why is it so special ?
goo.gl/raAhNx (blog post)
![Page 5: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/5.jpg)
Which Layer ?
![Page 6: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/6.jpg)
Wear Emulator KitKat 4.4.x Stack
Run on ARM architecture
Socket Communication (via adb)
![Page 7: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/7.jpg)
Android Wear Preview App
• For device communication
• Bridging App to Wear Emulator
• Future – part of Android stack (?)
• Rely on Notification Service
• goo.gl/tCI2kx (Play Store)
![Page 8: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/8.jpg)
Notification Flow
Android App (Gmail,Phone, SMS)
NotificationListener(android-wear-preview.apk)
Android Notification System
Bluetooth
Android Wear Device
Notifications passing and sorting
Push and Notify Mechanism
![Page 9: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/9.jpg)
Notification Flow
![Page 10: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/10.jpg)
RecipeWear Demo
1
2
3
1 android.support.v4.app.NotificationCompat.NotificationCompat.Builder(Builder class to build notification message)
android.preview.support.wearable.notifications(Wear specific notification builder)
2
NotificationManager(Service) call to initiate notification function3
RecipeService.java
![Page 11: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/11.jpg)
App Library Update SDK to API 19
extras/android/support/v4/android-support-v4.jar
android.preview.support.wearable.notifications package
WearableNotifications, RemoteInput and NotificationsUtil
![Page 12: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/12.jpg)
SDK for Wear Coming soon ! (speculation around I/O 2014) FeaturesCustom Card LayoutData & Action between device and wearableRealtime sensor data display on wearableApp handler for voice action eg: Ok Google, Take note, Ok Google, Record Conversation, etc
![Page 13: Dissecting Android Wear](https://reader035.vdocuments.mx/reader035/viewer/2022062316/589e6fd21a28ab1a548b7141/html5/thumbnails/13.jpg)