How to let a process run at background even if i press home button

Hello,

I am trying to make a small game which plays some sound for a fixed interval say 1 min. What i want is if i start playing and press home button then i want my sound to keep playing in background and stops onlh when 1 min timer is done. Is there a way to let sounds keep playing in background and not stop even after suspending state is called.

Thanks in advance.

Corona does not support backgrounded apps. There is an expectation that there will be an active user interface for our APIs.

That said I know people who have had some success doing it. The important thing is if you get it to work, we will not guarantee it will work in the future and if we break it, we will make no effort to un-break it since this is unsupported.

Rob

file this under:  annoying apps that won’t stay installed long enough to worry about how to implement those annoyances

$0.02

Corona does not support backgrounded apps. There is an expectation that there will be an active user interface for our APIs.

That said I know people who have had some success doing it. The important thing is if you get it to work, we will not guarantee it will work in the future and if we break it, we will make no effort to un-break it since this is unsupported.

Rob

file this under:  annoying apps that won’t stay installed long enough to worry about how to implement those annoyances

$0.02