00 android wear setup emulator

Post on 14-Jul-2015

407 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Android WearEmulator & Debugging

+Anuchit Chalothornanuchit@redlinesoft.net

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

top related