O'Reilly logo

Android Recipes: A Problem-Solution Approach by Jeff Friesen, Dave Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Scripting Layer for Android

Scripting Layer for Android (SL4A), which was previously known as Android Scripting Environment, is a platform for installing scripting language interpreters on Android devices and running scripts via these interpreters. Scripts can access many of the APIs that are available to Android apps, but with a greatly simplified interface that makes it easier to get things done.

Note

SL4A currently supports only the Python, Perl, JRuby, Lua, BeanShell, Rhino JavaScript, and Tcl scripting languages.

You can run scripts interactively in a terminal window (command window), in the background, or via Locale (www.twofortyfouram.com/). Locale is an Android app that lets you run scripts at predetermined times, or when other ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required