Jump to content

Scripting Layer for Android

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lsloan (talk | contribs) at 20:32, 20 March 2016 (Google code redirects users to Damon Kohler's github fork). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
SL4A
Repository
Written inC and Java
Operating systemAndroid
TypeLibrary
LicenseApache License 2.0
Websitewww.github.com/damonkohler/sl4a

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 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 [6] and droid-python [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:

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

  1. ^ "Scripting Comes to Android". O'Reilly Media. 2009-06-09. Retrieved 2010-11-12.
  2. ^ "Scripting Comes to Android". Google. 2009-06-08. Retrieved 2010-11-12.
  3. ^ "Android Gets Scripting Support with Python, Lua, Beanshell; Ruby planned". infoq.com. 2009-06-30. Retrieved 2010-11-12.
  4. ^ "Python, Lua and BeanShell: Google's New Android Scripting". Linux Magazine. 2009-06-12. Retrieved 2010-11-13.
  5. ^ "android-scripting". SL4A project. Retrieved 2014-10-04. SL4A is designed for developers and is still alpha quality software
  6. ^ "kuri65536 sl4a on GitHub". kuri65536. 2016-01-09. {{cite web}}: Cite has empty unknown parameter: |1= (help)
  7. ^ "droid-python on GitHub". ainsophical. 2015-10-19. {{cite web}}: Cite has empty unknown parameter: |1= (help)
  8. ^ Ferrill, Paul (2011). Pro Android Python with SL4A. Apress (via Google Books). p. 4. ISBN 9781430235699.
  9. ^ Barry, Paul (April 30, 2011). "Python for Android". Linux Journal (203).