Playing music in the background on Android

Hi, I was wondering if it was possible on Android to continue to play the music in the background (after the home button is pressed and the app is no longer in focus).

I looked through the forums and found this for iOS:
UIApplicationExitsOnSuspend = “NO”,
UIBackgroundModes ={ “audio” },

but nothing really for Android. [import]uid: 74346 topic_id: 27102 reply_id: 327102[/import]

just an update…

I found the wakelock permission
http://stackoverflow.com/questions/8687022/android-powermanager-and-wakelock-help-me-understand

which is what pandora uses.

I added the permission but I don’t actually know how to implement it in Corona. Is it even possible?

Thanks [import]uid: 74346 topic_id: 27102 reply_id: 110220[/import]

Anyone solve this? [import]uid: 120808 topic_id: 27102 reply_id: 113328[/import]

Ansca team, just let us know if this is impossible! [import]uid: 74346 topic_id: 27102 reply_id: 114639[/import]

Unfortunately, no. Corona does not support playing music while the app is in the background on Android. [import]uid: 32256 topic_id: 27102 reply_id: 114832[/import]

Does it for iPhone iPad etc. ? So how, check my questions at the forum: http://developer.coronalabs.com/forum/2012/07/08/always-against-limits

Thanks
[import]uid: 2734 topic_id: 27102 reply_id: 114840[/import]

It only partially works on iOS and it is considered a very advanced feature. Corona suspends its main runtime so event callbacks will not work while backgrounded. You may need to use the advanced Audio Session APIs and also set your build.settings correctly to allow for audio backgrounding as shown at the top of this post.

[import]uid: 7563 topic_id: 27102 reply_id: 114865[/import]