How can I interact with android scripting environment from android application?

I would like to use python scripts as plugins for an application that I am developing. This seems to be possible by interacting with the android-scripting-environment (ASE) as Locale does, but I haven't found any documentation about it. How do you run ASE scripts from your own application?

+2


source to share


1 answer


It looks like the Locale "plugin" just gets a broadcast Intent

to com.twofortyfouram.locale.intent.action.FIRE_SETTING

, which includes the script as Extra

named com.google.ase.extra.SCRIPT_NAME

.



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

0


source







All Articles