I want to create a small HTML5 app that runs in a browser window. Its purpose is to track my geolocation and the heart rate with Javascript while cycling or running. The screen does not need to stay on (as I don't even want to show a map), the phone just needs to continue collecting location data and not stop the bluetooth connection to the heart rate sensor.
Is this possible with vanilla HTML5? Or do I need something native wrapped around the app? So basically I just want to press a button when I start my tour, and then hit the stop button when I come back. A simple data collector, no fancy GUI neccessary.
I don't have problems with the app itself (using the Generic Sensor and Geolocation API), just with the interruption issues when the phone goes to sleep.