Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

iOS vs Android background audio differences.

$
0
0

I'm using Flash Pro CS6 / Air 3.2 to port to iSO and Android.

 

On iOS, when the app exits via the Home button or is closed using the Lock button, the audio is essentially "paused" for me without any code and starts up again when the app regains focus.

 

On Android, when the app exits in any way, the background audio continues to play.  I realize I can listen to ACTIVATE/DEACTIVE events and plan accordingly, but I would preffer to have Android pause the audio/app by default, and resume in a similar manner as iOS.

 

Is this possible?  Am I missing something in the SDK for app/device states?


Viewing all articles
Browse latest Browse all 21156

Trending Articles



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