I am working on a mobile application that should regularly test the web service (using setInterval). I made a prototype based on HTML5, but when the mobile browser goes in the background, javascript is paused.
I was looking to create my own apps for iOS and Android. In iOS, this can be done by requesting a limited amount of processing time when the application goes into the background. On Android, I assume that I will need to start the service, which will be started and stopped from the application.
However, I see that in Safari on iOS5, support for web workers has returned, and this has been supported in the Android browser for some time. This makes me wonder if I can use web workers to run javascript in mobile browsers when they are in the background?
source share