Sunday, March 28, 2010

Getting Started with DroidScript

DroidScript is a tool for programming Android applications in JavaScript.

Start by installing the DroidScript app on your device. Scan this QR-code to install the app (use Barcode Scanner by ZXing, which is available at Android Market):

qrcode

Alternatively, download using this link (works in the browser on the device):
http://droidscript.se/DroidScript.apk

You can edit and run scripts on the device from a web browser with the DroidScript Live Editor: http://droidscript.se

The Live Editor contains some sample code and instructions to get you started.

You can also edit scripts directly on the device, but this is not yet fully developed; the editor is very primitive and you cannot save scripts, for example.

If you want to constribute to the project or browse the source code for the DroidScript app, the code is at GitHub: http://github.com/divineprog/droidscript

When you update the DroidScript app, you will also need to update the associated script files. Do this by seleting "Update" in the options menu. Then restart the DroidScript app.

Contact info:
Email: mikael.kindborg at gmail
Twitter: http://twitter.com/divineprog

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. this project was nice! remember you from my days at IDA

    ReplyDelete
  3. Nice. But it would be nice to be able to write scripts that generate new icons in "home" or in the apps list. So, writing new apps would be just trivial. Or even better, a web service where you paste your source code and then generates an apk with the droidscript engine that executes the pasted code straightly. It's a win-win. What do you think?

    ReplyDelete