Friday, April 04, 2014

emulating home button press on Android with ssh

On the HTC Wildfire which I'm using as a demo piece, installed SSHDroid and was successful with implementing the act of pressing the Home button, though the button does not work, by running
am start -a android.intent.action.MAIN -c android.intent.category.HOME
as given at this stackexchange post. And as mentioned in the comments here, the
input keyevent 3
command does not work in ssh shell, probably due to some path or permission issues.

No comments:

Post a Comment