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 the 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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.