Control Android phone/tablet from Android Wear
There are some apps to control your PC from Android Wear via Android phone/tablet. However I couldn't find apps to control Android phone from Android wear like mouse. This is just a challenge to do that.
Could you try this app and check performance on your smartwatch?
At first, you need to find your touch screen settings, /dev/input/eventX, see the last section of this post.
Note that this app requires root permission. I recommend uninstalling it and reboot after trial for security of your device.
2015.5.17
The latest version 0.4.0 gets Transfer Mode and Receiver apk. You can control another Android device running Receiver from Wear.
Download
Source code: https://github.com/tkgktyk/WearablePad
APK: https://drive.google.com/folderview...djaUt0Q25vRC1RbFlmZjZnUVlSbDdaUWs&usp=sharing
Description
Android has Input SubSystem, /dev/input/eventX the same as Linux, processing user input from input devices including touch screen. We can emulate user input by injecting input event to Input SubSystem, but normal user has no permissions and that is protected by SELinux. Therefore we need root permission and changing SELinux policy.
What is this app for? well... for tablet on stand
Select touch screen from eventX
Android device has some /dev/input/eventX, X is number from 0, so you need to know which X links to your touch screen. The number of touch screen is depending on device. The following page is helpful for X:
LMT Launcher's thread on XDA
For Nexus4, touch screen is /dev/input/event2, and RatioX = 200%, and RatioY = 200%.
More information is here (Readme.md on github).
There are some apps to control your PC from Android Wear via Android phone/tablet. However I couldn't find apps to control Android phone from Android wear like mouse. This is just a challenge to do that.
Could you try this app and check performance on your smartwatch?
At first, you need to find your touch screen settings, /dev/input/eventX, see the last section of this post.
Note that this app requires root permission. I recommend uninstalling it and reboot after trial for security of your device.
2015.5.17
The latest version 0.4.0 gets Transfer Mode and Receiver apk. You can control another Android device running Receiver from Wear.
Download
Source code: https://github.com/tkgktyk/WearablePad
APK: https://drive.google.com/folderview...djaUt0Q25vRC1RbFlmZjZnUVlSbDdaUWs&usp=sharing
Description
Android has Input SubSystem, /dev/input/eventX the same as Linux, processing user input from input devices including touch screen. We can emulate user input by injecting input event to Input SubSystem, but normal user has no permissions and that is protected by SELinux. Therefore we need root permission and changing SELinux policy.
What is this app for? well... for tablet on stand
Select touch screen from eventX
Android device has some /dev/input/eventX, X is number from 0, so you need to know which X links to your touch screen. The number of touch screen is depending on device. The following page is helpful for X:
LMT Launcher's thread on XDA
For Nexus4, touch screen is /dev/input/event2, and RatioX = 200%, and RatioY = 200%.
More information is here (Readme.md on github).
Attachments
Last edited: