+ All Categories
Home > Technology > 00 Android Wear Setup Emulator

00 Android Wear Setup Emulator

Date post: 14-Jul-2015
Category:
Upload: anuchit-chalothorn
View: 406 times
Download: 1 times
Share this document with a friend
21
Android Wear Emulator & Debugging +Anuchit Chalothorn [email protected]
Transcript

Android WearEmulator & Debugging

+Anuchit [email protected]

Android Wear Emulator

Android Wear development, you can use real device or emulator. Use SDK Manager to install Android Wear emulator

Pair Emulator with Mobile

● Connect your phone to computer● Start wear emulator● Use Android Wear app connect to emulator● Use adb to forward tcp port 5601 from phone to

emulator● Now you can use Android Studio to debug your

emulator

Pair Emulator with Mobile

adb -d forward tcp:5601 tcp:5601

Debug over Bluetooth

● Enable Developer Option on Android Wear device

● Enable Debug over bluetooth at Android Wear app and Android Wear device

● Use adb to forward port ● Now you can use Android Studio to debug your

Android Wear device

Debug over Bluetooth

adb forward tcp:4444 localabstract:/adb-hubadb connect localhost:4444

Screen Capture

You can use Android Wear Application to capture screen of your Android Wear device, using share intent to another app, doesn't save to the device.

Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Thank You


Recommended