开发者

j2me running thread while device is in energy saving mode

开发者 https://www.devze.com 2023-04-03 18:09 出处:网络
I have created an application which stores a set five different times, at each time i play an audio. I have done this using thread. But 开发者_StackOverflowthe audio does not play when the device is n

I have created an application which stores a set five different times, at each time i play an audio. I have done this using thread. But 开发者_StackOverflowthe audio does not play when the device is not in active mode. How can i play the audio despite the status of the mobile? In android i have done this using alarm manager. Is there such an option in j2me? Please help with code if you have the solution.


If i remember correctly, background operations are not possible in j2me, due to midlet lifecycle. If device is not active the application remains in pause-state.

0

精彩评论

暂无评论...
验证码 换一张
取 消