HTML5 Tracking Geo-location Persistently

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,

Answers


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.


Need Your Help

How to place lines below markers in Python?

python matplotlib plot

I have to plot multiple lines and their curve fit lines on a single plot. All these lines are plotted using a for loop. Since it is plot using loops the curve fit lines of the succeeding step is pl...

J2ME/Android/BlackBerry - driving directions, route between two locations

android blackberry java-me geolocation driving-directions

On Android 1.0 there was a com.google.googlenav namespace for driving directions:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.