need the script for back button emulation
<p>can someone tell me what script/command I need to run on a rooted phone to emulate android's hardware back button?</p>

<p>I'm trying to create a always-on-screen back button and its code is all set. Now I'm looking for a script/command which can emulate android's hardware back key press and set it to whatever app is active. something like <a href="http://forum.xda-developers.com/showthread.php?p=9575198" rel="nofollow">http://forum.xda-developers.com/showthread.php?p=9575198</a> and <a href="http://forum.xda-developers.com/showthread.php?t=865525" rel="nofollow">http://forum.xda-developers.com/showthread.php?t=865525</a></p>

<p>What i'm looking would be a shell command like "su event_command back_key_code"</p>
