dissecting android wear
TRANSCRIPT
Dissecting Android Wear
24th June 2014Nanik Tolaram
naniktolaram.complus.google.com/+NanikT
Thank You !
About Customising Full Android stack and
developing apps
Hardware ARM – Freescale/AmlogicX86 – AMD / IntelTablet/Media Player form factor
Hardware / Kernel Tinkerer
Questions
How the whole thing works ?
Why is it so special ?
goo.gl/raAhNx (blog post)
Which Layer ?
Wear Emulator KitKat 4.4.x Stack
Run on ARM architecture
Socket Communication (via adb)
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)
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
Notification Flow
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
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
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