This is an old post from 2012. As such, it might not be relevant anymore.
on{X} (pronounced like ‘on-ex’) lets you control and extend the capabilities of your Android phone using a JavaScript API to remotely program it