Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the adb Monkeyrunner API instead of adb connect + WifiKeyboard app. #4

Open
dportabella opened this issue Nov 30, 2015 · 0 comments

Comments

@dportabella
Copy link
Owner

Android Debug Bridge (which we are already using to forward the key events to the WifiKeyboard app) also has an API to send key events to the android without requiring any installed app. So we can remove the need for installing WifiKeyboard app. Moreover, then there is no need for launching the adb connect command on the laptop, no need for launching the WifiKeyboard app, and no need for switching between the native android keyboard and this one.

ADB: Android Debug Bridge
http://developer.android.com/tools/help/adb.html

API. see the the type and press methods
http://developer.android.com/tools/help/MonkeyDevice.html

example:
http://stackoverflow.com/questions/6686085/how-can-i-make-a-java-app-using-the-monkeyrunner-api

maven dependencies:
http://stackoverflow.com/questions/6686085/how-can-i-make-a-java-app-using-the-monkeyrunner-api/33330298#33330298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant