Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

App audio plays while Kindle Fire screen is locked

$
0
0

I am hoping someone has found a solution to this issue:

 

If I put my Kindle Fire to sleep using the power button, when I wake it back up, the app's audio begins playback while the screen is still locked.

 

All the other soft keys on the device control the app and the audio as expected.

 

As far as I can tell, it seems that when the Event.ACTIVATE fires, the app runs and Amazon just tosses a screen-lock overlay on top. My app is running at full frame rate (and playing audio) underneath the screen lock, but there are no events I can listen for to tell when the unlock happens.

 

I'm probably missing something, but shouldn't there be an event type in the NativeApplication class that we can listen for? Everything I've tried so far doesn't work.

 

I haven't submitted this to Amazon yet, but it seems likely to be rejected. Any ideas appreciated!


Viewing all articles
Browse latest Browse all 24121

Trending Articles



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