Ruby in Android - Android Scripting Environment


#1
Some news I came across, check out: http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html

John.

---

The Android Scripting Environment (ASE) brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. These scripts have access to many of the APIs available to full-fledged Android applications, but with a greatly simplified interface that makes it easy to:

  • Handle intents
  • Start activities
  • Make phone calls
  • Send text messages
  • Scan bar codes
  • Poll location and sensor data
  • Use text-to-speech (TTS)
  • And more

Scripts can be run interactively in a terminal, started as a long running service, or started via Locale. Python, Lua and BeanShell are currently supported, and we're planning to add Ruby and JavaScript support, as well.


#2

On Tue, Jun 9, 2009 at 10:16 AM, John Slobberemoved_email_address@domain.invalid
wrote:

Some news I came across, check out:
http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html

The unfortunate thing about this is that those scripts will only work
from outside apps, not within apps. It doesn’t sound like they’re
using JVM-based versions of them, so they can only interact at a
fairly superficial level.

Hopefully we’ll get a few more folks interested in JRuby on Android
this summer to tie up the remaining loose ends. Then you can actually
write and script applications with Ruby.

  • Charlie