Question

I am currently developing a web app application for iphone

The main fonctionnality of this app is to collect GPS data in a regular way ( every 10 sec ) in order to be sent via AJAX to a WebService and saved...

the problem is that after a few moments , the iphone goes in sleep mode ( screen switch off ) and then the process is no longer active

is there a way to keep the application constantly awake like some traditional applications such as GPS applications ?

Était-ce utile?

La solution

You can not keep a device awake with a non-native app. See the docs.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top