Skip navigation
Currently Being Moderated

iOS vs Android background audio differences.

Jul 2, 2012 2:32 PM

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?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points