views:

369

answers:

1

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?

A: 

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.

fiXedd