How do I using the shell command "input keyevent 3" in a activity to return home page
<p>Fist I used the shell command in terminal, it worked. But when I used that command in a activity, It didn't work. Then I used the command in a service, It didn't work. I checked the log and found it sent the keyevent 3(return home page command).  </p>
