Scripting Layer for Android: Difference between revisions
→See also: see also Termux (deleted years ago, should be revived soon) |
TucanHolmes (talk | contribs) Clean up the article, and add some update information about the project's current state |
||
Line 1: | Line 1: | ||
{{Infobox software |
{{Infobox software |
||
| name = SL4A |
| name = SL4A |
||
| |
| author = Damon Kohler |
||
| screenshot = |
|||
| caption = |
|||
| developer = |
|||
| latest release version = |
|||
| latest release date = {{release date|2010|11|10}} |
|||
| latest preview version = |
|||
| latest preview date = {{release date|2010|11|10}} |
|||
| operating system = [[Android (operating system)|Android]] |
| operating system = [[Android (operating system)|Android]] |
||
| platform = |
|||
| programming language = [[C (programming language)|C]] and [[Java (programming language)|Java]] |
| programming language = [[C (programming language)|C]] and [[Java (programming language)|Java]] |
||
| genre = Library |
| genre = Library |
||
Line 16: | Line 8: | ||
| website = {{URL|https://github.com/damonkohler/sl4a}} |
| website = {{URL|https://github.com/damonkohler/sl4a}} |
||
}} |
}} |
||
{{Update|type=section|date=August 2020|updated=August 2020|reason=Did development stop in general, or are some forks still actively maintained?}} |
|||
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 (operating system)|Android]] devices.<ref>{{cite web |
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 (operating system)|Android]] devices.<ref>{{cite web |
||
| url=http://radar.oreilly.com/2009/06/scripting-comes-to-android.html |
| url=http://radar.oreilly.com/2009/06/scripting-comes-to-android.html |
||
Line 38: | Line 30: | ||
| date=2009-06-12 |
| date=2009-06-12 |
||
| accessdate=2010-11-13}}</ref> |
| accessdate=2010-11-13}}</ref> |
||
SL4A is designed for developers and |
SL4A is designed for developers and is still alpha quality software,<ref>{{cite web |
||
| url=https://github.com/damonkohler/sl4a/blob/master/README.md |
| url=https://github.com/damonkohler/sl4a/blob/master/README.md |
||
| title=android-scripting |
| title=android-scripting |
||
| publisher=SL4A project |
| publisher=SL4A project |
||
| quote=''SL4A is designed for developers and is still alpha quality software'' |
| quote=''SL4A is designed for developers and is still alpha quality software'' |
||
| accessdate=2016-03-20}}</ref> As of January 2016, other developers have forked the SL4A code to enable it to run on Android Lollipop and Android Marshmallow after development on the main code branch stopped, for example the kuri65536 branch of SL4A |
| accessdate=2016-03-20}}</ref> with its main branch no longer being under active development.<ref name=":0">{{Cite web|last=|first=|date=2015-06-14|title=sl4a/README.md at master · damonkohler/sl4a|url=https://github.com/damonkohler/sl4a/blob/master/README.md|url-status=live|archive-url=|archive-date=|access-date=2020-08-31|website=GitHub}}</ref> As of January 2016, other developers have forked the SL4A code to enable it to run on Android Lollipop and Android Marshmallow after development on the main code branch stopped, for example the ''kuri65536'' branch of SL4A<ref>{{cite web | url=https://github.com/kuri65536/sl4a/releases |
||
| title=kuri65536 sl4a on GitHub |
| title=kuri65536 sl4a on GitHub |
||
| publisher=kuri65536 |
| publisher=kuri65536 |
||
| date=2016-01-09}}</ref> |
| date=2016-01-09}}</ref> and ''droid-python''.<ref>{{cite web | url=https://github.com/ainsophical/droid-python |
||
and droid-python <ref>{{cite web | url=https://github.com/ainsophical/droid-python |
|||
| title=droid-python on GitHub |
| title=droid-python on GitHub |
||
| publisher=ainsophical |
| publisher=ainsophical |
||
| date=2015-10-19}}</ref> |
| date=2015-10-19}}</ref> |
||
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. |
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 (programming language)|Python]] using [[CPython]] |
* [[Python (programming language)|Python]] using [[CPython]] |
||
Line 63: | Line 54: | ||
* [[Rexx]] using [[BRexx]] |
* [[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 |
SL4A was first announced by Google in June 2009, and was originally named "Android Scripting Environment" (ASE). It is, however, not an official Google product, even though many of its developers have worked for Google.<ref name=":0" /> It was originally developed by Damon Kohler, and has grown through the contributions of many developers.<ref> |
||
{{cite book |
{{cite book |
||
|title=Pro Android Python with SL4A |
|title=Pro Android Python with SL4A |
Revision as of 17:26, 31 August 2020
Original author(s) | Damon Kohler |
---|---|
Repository | |
Written in | C and Java |
Operating system | Android |
Type | Library |
License | Apache License 2.0 |
Website | github |
![]() | This article needs to be updated. The reason given is: Did development stop in general, or are some forks still actively maintained?.(August 2020) |
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 is still alpha quality software,[5] with its main branch no longer being under active development.[6] As of January 2016, other developers have forked the SL4A code to enable it to run on Android Lollipop and Android Marshmallow after development on the main code branch stopped, for example the kuri65536 branch of SL4A[7] and droid-python.[8]
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 is, however, not an official Google product, even though many of its developers have worked for Google.[6] It was originally developed by Damon Kohler, and has grown through the contributions of many developers.[9][10]
See also
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 2016-03-20.
SL4A is designed for developers and is still alpha quality software
- ^ a b "sl4a/README.md at master · damonkohler/sl4a". GitHub. 2015-06-14. Retrieved 2020-08-31.
{{cite web}}
: CS1 maint: url-status (link) - ^ "kuri65536 sl4a on GitHub". kuri65536. 2016-01-09.
- ^ "droid-python on GitHub". ainsophical. 2015-10-19.
- ^ 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