Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript for Android
branch: master

This branch is 23 commits behind divineprog:master

Failed to load latest commit information.
javascript Updates
libs Adding files
res Adding files
src/comikit/droidscript Updates
AndroidManifest.xml Uploading new version
README More updates
copyjs.sh Updating code
emulator.sh Adding files
forward.sh Adding files
install.sh Fixed several problems, added some new functionality

README

Copyright (c) 2009-2010 Mikael Kindborg mikael.kindborg@gmail.com
Licence: MIT

DroidScript - JavaScript for Android! :-)

The project is very unfinished and experimental!

DroidScript (formerly called RhinoDroid) is a JavaScript programming tool for Android.
It is a tool for building full Android applications.

It is based on the Mozilla Rhino JavaScript implementation (which is why it was first 
called RhinoDroid).

The DroidScript application allows both editing and running programs on a device, 
and will add remote coding using a web application. The application contains a tiny 
web server that accepts HTTP PUT-requests with JavaScript code as its body.
But this is not yet complete.

How To

On startup, the app reads a JavaScript file: 
/sdcard/droidscript/DroidScript.js

If not present, this file, and the demo script Toast.js, are downloaded 
from GitHub when the app starts.

Steps if using the emulator:
1) Create an SD card image with: mksdcard 512M sdcard.iso
2) Launch emulator with script: ./emulator.sh

Copy DroidScript.js to device with script: ./copyjs.sh
(This is only needed if you wish to modify the app.)

Import project into Eclipse, compile and run on emulator or device.
If you don't want to compile, DroidScript.apk is on GitHub in bin folder.
Install on device with: adb install -r DroidScript.apk

Again, everything is very experimental and unfinished at this stage.

Have fun!

Micke (^_^)
Something went wrong with that request. Please try again.