Is there any way to Play music as background service in playbook?
I have made a music player for blackberry playbook and it is working fine .My problem is I want to play the music as a background service so that if user switches between other app . my music would开发者_运维百科 play continuously ..
thanks
You can do it using this line as the first line of your application
QNXSystem.system.inactivePowerMode = QNXSystemPowerMode.THROTTLED;
From now your app will play sound while the app is in background and also when the playbook is on standby state.
精彩评论