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?
Asked
Active
Viewed 966 times
2
-
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 Answers
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