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.
相关问题
- How to let a thread communicate with another activ
- Why it isn't advised to call the release() met
- ThreadPoolTaskScheduler behaviour when pool is ful
- Custom TaskScheduler, SynchronizationContext?
- Too many Garbage collection threads
相关文章
- Difference between Thread#run and Thread#wakeup?
- Java/Spring MVC: provide request context to child
- Threading in C# , value types and reference types
- RMI Threads prevent JVM from exiting after main()
- Async task does not work properly (doInBackground
- Android, Volley Request, the response is blocking
- parallelizing matrix multiplication through thread
- Android- Thread.join() causes Application to hang
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.