corona


how to keep music running when app is brought to front after being minimized?


I am using media.playSound method. the music is working fine but when I minimize the app to lets say open something else, the music stops when I reopen the app. I tried the same thing on android, it's all right there. The music pauses when the app is minimized and then it is resumed when the app is brought to front.
Is there something that needs to be done for it to work on ios devices ??
This post is from 25 June 2013 from a SDK staff member in response to a similar question.
Apple supports a limited number of background modes including playing background music, some GPS features, Newsstand downloads, etc. Some people have gotten this to work. But the official answer from the Engineers is "This is unsupported in Corona SDK. It may not work in future releases. And it doesn't work on Android with Corona SDK at all". That said, you can take your chances, but no complaining when you update to a later release and your app breaks.
This is unsupported.
The topic takes a turn to talk about the zero support in Andriod so it's safe to say it's unsupported for ios. It's been over a year so I'd suggest finding the page on their site where they talk about added features or ask this question there to find your answer.

Related Links

selectively upgrade existing sqlite database in corona by comparing database versions
Corona Near Field Comunication (NFR)
How can i make random generated quotes
Using perspective library with Corona SDK
What is the right way to zoom the camera out from a scene view?
Corona SDK Runtime Error on version 3.0.0
corona loadRemoteImage loading in another scene
What is a simple splash screen code for corona?
How to resize pickerwheel on corona sdk
How to allow external music/audio to continue in Corona SDK apps when they launch?
Can I put apps made on Corona SDK for windows on IOS?
Define coordinates with rotation (corona sdk)
Open 3rd party application in corona sdk
Corona SDK variable throughout different scenes
How to show Pop-ups in Corona SDK?
IDE for Corona SDK for Mac

Categories

HOME
cocoapods
automapper
workflow
key
windows-10
xbap
mpu6050
webstore
temperature
pinterest
angular2-highcharts
sqlplus
gollum-wiki
generator
environment
tortoisemerge
history.js
credit-card
premake
windowsiot
actframework
epplus
osx-lion
rails-postgresql
mv
flowchart
get-event-store
pyttsx
minikube
permission-denied
vesta
linq-to-excel
webalizer
knockout-2.0
sonatype
swiperefreshlayout
deviare
msg
seccomp
oci
unsigned
facebook-ios-sdk
urbit
accessibilityservice
gwt-syncproxy
wif4.5
android-mapview
nastran
dsa
sqlbase
unhandled
supersocket.net
cache-manifest
ipod
python-c-extension
subview
configurable-product
multivariate-testing
storing-data
relationships
aho-corasick
neo4jphp
commenting
spring-social-linkedin
infinite
indesign-server
reentrancy
android-authenticator
dojo-1.9
xalan
android-dialog
popup-blocker
kaazing
kobold2d
gwt-celltable
radscheduler
nosetests
photo-management
ognl
django-pagination
formal-semantics
ninject-interception
tabbarcontroller
android-input-method
spring-modules
tacit-programming
index.dat

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App