Android Script Language
Scripting Layer for Android (SL4A, formerly known as Android Scripting Environment
or (ASE) brings scripting languages to Android by allowing you to edit and execute
scripts and interactive interpreters directly on the Android device.
The Android Scripting Environment (ASE) brings scripting languages to Android by
allowing you to edit and execute scripts and interactive interpreters directly on
the Android device.These scripts have access to many of the APIs available to full-fledged
Android applications, but with a greatly simplified interface that makes it easy
to:
- Handle intents
- Start activities
- Make phone calls
- Send text messages
- Scan bar codes
- Poll location and sensor data
- Use text-to-speech (TTS)
- And more
Scripts can be run interactively in a terminal, in the background, or via Locale.
Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are currently supported.
You may ask, why write scripts instead of real Android applications? Admittedly,
Android's development environment makes life pretty easy, but you're tied to a computer
to do your work. ASE lets you develop on the device itself using high-level scripting
languages to try out your idea now, in the situation where you need it, quickly.