-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
42 lines (28 loc) · 1.39 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Copyright (c) 2009-2010 Mikael Kindborg [email protected]
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 (^_^)