Android OS Wear Application to measure children's activity when playing.
Android OS Wear Application to measure children's activity when playing
Make sure you have adb installed on your computer and the watch is connected to your computer, via usb or wifi. Note: I could only install the application via Wifi Debugging, check the notes below on how to install it.
adb -s <device_id> install -r /path/to/your/app-debug.apk
Path to getting the data from the device:
I couldn't make the installation of the application work via usb cable, but yes over wifi debugging.
On the watch
Once you have the ip:port, you can connect to the watch via adb
adb connect ip:port
Now you can install the APK: Now, you can install the APK with the adb install command. Replace /path/to/your/app-debug.apk with the path to your APK file:
adb -s ip:port install /path/to/your/app-debug.apk
During the installation, I had to restart the adb server to make it work at times.
adb kill-server
adb start-server
Description | Command |
---|---|
Connect to a device | adb connect 192.168.1.64:5555 |
Install app | adb -s 192.168.1.148:5555 install ./app-debug.apk |
Uninstall app | adb -s 192.168.1.148:5555 uninstall com.example.smartplay |
List installed packages | adb -s 192.168.1.148:5555 shell pm list packages |