2

I'd like to use python scripts as plugins for an app I'm developing. This seems to be possible by interacting with android-scripting-environment (ASE), as is done by Locale, but I haven't found any documentation about this. How you execute ASE scripts from your own app?

rene
  • 41,474
  • 78
  • 114
  • 152
Joakim Lundborg
  • 10,920
  • 6
  • 32
  • 39
  • Might be useful to further explain ASE: http://code.google.com/p/android-scripting/ – Jeremy Logan Oct 05 '09 at 10:48
  • That ASE website is more confusing than anything. They are gearing towards the user using the platform rather than the developer creating plugins or evaluating scripts. I asked them a simple question s long time ago (about how to use ASE from my app), they promised to respond. They still haven't responded – Tawani Dec 01 '09 at 19:56

1 Answers1

0

It looks like the Locale "plugin" is just recieving a broadcasted Intent to com.twofortyfouram.locale.intent.action.FIRE_SETTING which includs the script as an Extra with the name com.google.ase.extra.SCRIPT_NAME.

The relevant bits are in com.google.ase.locale.LocaleReceiver.

Jeremy Logan
  • 47,151
  • 38
  • 123
  • 143