30.04.2013 Views

Android - CommonsWare

Android - CommonsWare

Android - CommonsWare

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reviewing the Script<br />

Leveraging Java Libraries<br />

Since this chapter covers scripting in <strong>Android</strong>, you may be interested to<br />

know that you have options beyond embedding Beanshell directly in your<br />

project.<br />

Some experiments have been conducted with other JVM-based<br />

programming languages, such as JRuby and Jython. At present, their<br />

support for <strong>Android</strong> is incomplete, but progress is being made.<br />

Beyond that, though, there is the <strong>Android</strong> Scripting Environment (ASE).<br />

ASE, downloadable off the <strong>Android</strong> Market, allows you to write scripts in<br />

Python and Lua, to go along with Beanshell. These scripts are not fullfledged<br />

applications and, at the time of this writing, are not really<br />

distributable to others. And, ASE is not precisely designed to extend other<br />

applications, though it can be used that way. But, if you want to do ondevice<br />

programming, ASE is probably the best answer.<br />

330<br />

Subscribe to updates at http://commonsware.com Special Creative Commons BY-SA 3.0 License Edition

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!