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?
2
-
Might be useful to further explain ASE: code.google.com/p/android-scriptingJeremy Logan– Jeremy Logan2009-10-05 10:48:14 +00:00Commented Oct 5, 2009 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 respondedTawani– Tawani2009-12-01 19:56:33 +00:00Commented Dec 1, 2009 at 19:56
Add a comment
|
1 Answer
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.