Is it possible to track a person’s location, using HTML5’s geolocation API, while his phone screen is off or while the app is in the backgroud?
Does HTML5 allow us to create a mobile app that acts like a native app? Meaning can it be stored on the user’s phone and accessed like a regular app, without using tools like PhoneGap?
Thank you,
You have to create native application, to make it background application.
ON iOS 4 onwards, iOS application is put on “Pause” by default, when you press central hard button.
Even with Native iOS application you need to “Wake” the application periodically for doing some background stuff, like fetching user location.