flash - Do Adobe Air Apps on Android receive system events? -
i'm considering using adobe air write application android marketplace. wondering if tell me (if any) limitations regard getting / handling system events. instance can pause app if user receives text message? or detect if have music playing , mute app's sounds?
it seem real pity if air cannot this.
i can't seem see online - if finds out.
speaking authoritatively ios packager (and extension assuming should true of apk packager) know recent air versions indeed let pause when os interrupts application.
nativeapplication.nativeapplication.addeventlistener(event.activate, onnativeappactivated); nativeapplication.nativeapplication.addeventlistener(event.deactivate, onnativeappdeactiated);
if need put special logic in app handle interruptions you'd write handlers event.activate , event.deactivate nativeapplication instance.
as other bits of accessability hardware, there limitations. eg: aren't allowed fine-grained gps location, coarse location. if find comprehensive list again i'll post up.
Comments
Post a Comment