Android Wear Overview
![](https://media.slid.es/uploads/waicheung/images/1207633/send_a_text.png)
“Ok Wai Cheung”
What is Android Wear?
![](https://media.slid.es/uploads/waicheung/images/1207649/2015-03-26_at_5.54_pm.png)
What it can do?
![](https://media.slid.es/uploads/waicheung/images/1207658/2015-03-26_at_6.00_pm.png)
Notification
Wear App
It has...
![](https://media.slid.es/uploads/waicheung/images/1207692/2015-03-26_at_6.08_pm.png)
Touch Screen
Power Button
Sensorsss...
e.g. heart rate meter, GPS, Accelerometer...
Resolution
for designer
Square
Rounded
W 320
H 320
W 320
H 320
DPI?
res/nodpi
res/hdpi (x1.5)
Running on device...
- Android
- OS version >= 4.3
Android Wear OS version
- 4.4 (API Lv 20)
- 5.x (API Lv 21)
Hey, what's their difference?
- Watch Face API
- Material Design UI
- Notification priority mode
- Resume dismissed Notification
Hey, what's their difference?
UI? UX?
- Don't consider it as a small-sized phone
- Do one thing, REALLY FAST
- Design for the corner of the eye
- Don't always get user focus (e.g. vibration)
Design for big gestures
![](https://developer.android.com/design/media/wear/biggesture.png)
Better finish all interaction within 5 seconds
![](https://developer.android.com/design/media/wear/five_seconds.gif)
Right content at the right time
![](https://developer.android.com/design/media/wear/wear_checkin.png)
according sensor information, GPS location, cloud server information, etc...
Development on Android Wear
- Optimize notification
- Develop wear app
Notification
![](https://developer.android.com/wear/images/notification_phone@2x.png)
Many many styles... such as BigPictureStyle, BigTextStyle, InboxStyle... a tutorial class
But... they are only working on Android OS >=4.1
Notification
Or AW only features like adding pages, action buttons, voice command input or custom layout...
![](https://developer.android.com/wear/images/09_pages.png)
![](https://developer.android.com/wear/images/11_bundles_A.png)
![](https://developer.android.com/wear/images/03_actions.png)
![](https://developer.android.com/wear/images/13_voicereply.png)
![](https://developer.android.com/wear/images/circle_email_action.png)
page
stacked page
action
voice reply
You can...
![](https://media.slid.es/uploads/waicheung/images/1207815/2015-03-26_at_7.26_pm.png)
DEMO on Emulator
Android Wear App
Same as Android App but without...
Android Wear App
With some Android Wear only UI components...
![](https://developer.android.com/wear/images/05_uilib.png)
![](https://media.slid.es/uploads/waicheung/images/1207881/2015-03-26_at_7.49_pm.jpg)
![](https://developer.android.com/wear/images/screens/cuecard.gif)
![](https://developer.android.com/wear/images/09_uilib.png)
![](https://media.slid.es/uploads/waicheung/images/1207916/2015-03-26_at_8.04_pm.jpg)
How to sync / send data to Android phone?
- MessageAPI - no data storage, send data once
- Syncing Data Item - payload (100 kb) stored in memory, once connected then do data sync
- Transfer Assets - for large file (e.g. images transfer)
Common Questions
Can I get GPS from Android Wear?
YES, you can get GPS from Android Wear which connected with an Android phone...
Some Android Wear devices have build-in GPS chips and obtain GPS signal by itself
Can I wake a phone app to foreground by a wear app?
YES, you can and also do it reversely.
What's more, you can open a url or trigger a service...
It handles an intent / pending intent very well! : )
What still works when the watch isn’t paired
- Tell time and see the date
- Set an alarm
- Use the stopwatch
- Use the timer
- View your calendar for today
- See your step count
- See your heart rate (if your watch has this feature)
- Change your watch face
- Put your watch in airplane mode
- Listen to music through your watch
Useful links
One more things...
for developers
HTTP Connection is FAIL! : (
You can make use of
WearHttp
and a simplified data layer wrapper...
Teleport
Thank You!
Android Wear Overview
By Wai Cheung
Android Wear Overview
- 351