Scripting Layer for Android
Written in | C and Java |
---|---|
Operating system | Android |
Type | Library |
License | Apache License 2.0 |
Website |
code |
The Scripting Layer for Android (abridged as SL4A, and previously named Android Scripting Environment or ASE) is a library that allows the creation and running of scripts written in various scripting languages directly on Android devices.[1][2][3][4] SL4A is designed for developers and (as of late 2014) is still alpha quality software.[5] As of November 2014, it is incompatible with Android 5.0 (Lollipop) and it is not clear when or if this will be fixed.[6]. Some developers reported SL4A can run on Android 5.1 (an update of Lollipop)[7].
These scripts have access to many of the APIs available to normal Java Android applications, but with a simplified interface. Scripts can be run interactively in a terminal, or in the background using the Android services architecture. Currently supported languages are:
- Python using CPython
- Perl
- Ruby using JRuby
- Lua
- BeanShell
- JavaScript using Rhino
- Tcl
- Rexx using BRexx
SL4A was first announced by Google in June 2009, and was originally named "Android Scripting Environment" (ASE). It was originally developed by Damon Kohler, and it has grown through the contributions of many developers.[8][9]
References
- ↑ "Scripting Comes to Android". O'Reilly Media. 2009-06-09. Retrieved 2010-11-12.
- ↑ "Scripting Comes to Android". Google. 2009-06-08. Retrieved 2010-11-12.
- ↑ "Android Gets Scripting Support with Python, Lua, Beanshell; Ruby planned". infoq.com. 2009-06-30. Retrieved 2010-11-12.
- ↑ "Python, Lua and BeanShell: Google's New Android Scripting". Linux Magazine. 2009-06-12. Retrieved 2010-11-13.
- ↑ "android-scripting". SL4A project. Retrieved 2014-10-04.
SL4A is designed for developers and is still alpha quality software
- ↑ "SL4A + Lollipop". SL4A project. 2014-11-18. Retrieved 2014-12-20.
- ↑ {{cite web url=https://groups.google.com/forum/#!msg/android-scripting/rXDVgLdyTBw/JbNP7b3ZiaEJ title=SL4A Running in Android 5.1 publisher=SL4A forum date=2015-04-15 }}
- ↑ Ferrill, Paul (2011). Pro Android Python with SL4A. Apress (via Google Books). p. 4. ISBN 9781430235699.
- ↑ Barry, Paul (April 30, 2011). "Python for Android". Linux Journal (203).
External links
|