Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Flash CS6 AIR device emulator throws deactivate events when sensors change

$
0
0

I am developing an app in Flash CS6 targeting AIR 21.0.0.176 for Android.  I have set up listeners for NativeApplication.nativeApplication Event.ACTIVATE and Event.DEACTIVATE.  These work as expected when the Android device is running standalone or if I am debugging via the USB interface to CS6. However if I deploy to the local simulator, then whenever I use the simulator interface to generate a change in accelerometer or geolocation, the app receives a DEACTIVATE event.

 

This makes troubleshooting difficult because on my DEACTIVATE event handler I by stop all interactive functions in the app.

 

Any ideas please?


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>