Skip to main content
Inspiring
Jun 15, 2011 1:59 PM UTC
Question

android multitasking issue

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participating Frequently
Jun 15, 2011 2:57 PM UTC

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

Translate
Inspiring
Jun 18, 2011 2:45 PM UTC

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.

Translate
Colin Holgate
Inspiring
Jun 15, 2011 2:47 PM UTC

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

Translate