Installing and Using Android Scripting Environment (ASE)
Author: Rachee Singh --
Published? false --
You need to run scripts (python, perl, lua etc) on an Android device.
Installing and using ASE to write scripts on the Android device.
- You need to download the the Android Scripting Environment (ASE) apk from here: . From this link you will download 'ase_14.apk'. Then install this apk on the running emulator using the adb install command.
In the tools (or platform-tools, depending on where the adb executable is located) directory of the Android sdk, run:
./adb install ocation-of-the-downloaded-ase-apk
- After the installation completes successfully, in the applications menu of your emulator you will see the an ASE icon.
- On clicking the ASE icon, the Android Scripting Environment launches up. Click the menu button to see the options available.
(For the first time users the list of scripts displayed in the above screenshot would not exist.)
- Click 'Interpreters' from the menu. A new activity starts listing all the available interpreters. (When you are trying this for the first time, only 'Shell' will be listed.)
- Press the menu button while you are on this activity again. It shows a menu like this:
- Click 'Add' in the menu. This opens a list of interpreters you can add to your ASE.
(For the first time users the list would also include 'Python 2.6.2'. Click on it.
- On clicking on 'Python 2.6.2' from the menu, three zip files are downloaded. After the download, the zips are extracted. When this process finishes, in the list of interpreters, python starts to appear.
- From the list of interpreters, click on 'Python 2.6.2'. This starts the python interpreter!
You can now try out python hello world programs and so much more on your Android device!
- Here is an example of a printing 'Hello Android' on the ASE python interpreter.