Skip to main content
Inspiring
June 15, 2011
Question

android multitasking issue

  • June 15, 2011
  • 2 replies
  • 622 views

Hello guys and gals,

I have an app that has audio which loops. When the user switchs to the launch screen on android (whats it called?) or to another app, my audio still plays. I don't want this. Is there a way of preventing this behavior? Kind of like suspend on app switch sort of thing....

-Scott

This topic has been closed for replies.

2 replies

Participating Frequently
June 15, 2011

Hi Scott,

As Colin mentioned you need to modernize your application, see e.g.:

http://blogs.adobe.com/ria/2011/04/20/tombstoning-in-air-mobile-applications/

(this is 2.6 or later)

regards,

Peter

Inspiring
June 18, 2011

This should not be nessisary. In Ios, when I switch to the launch screen my app suspends. This is what I want it to do. When in android I return to the launch screen my app continues to play. I do not want this.

I sure don't want to have to suspend my program one timer at a time. I can have dozens of timers. If I have to I will quit the application. But this is just rediculous.

Colin Holgate
Inspiring
June 15, 2011

Flash keeps streaming things going, so you may need to listen for the deactivate and activate events, and do your own pausing.