Phonegap Geolocation: track position if app closed
===

i've followed the tutorial on http://mobile.tutsplus.com/tutorials/mobile-web-apps/build-an-exercise-tracking-app-persistence-graphing/

All runs.

But: If I closed the app or turn on the device lock the tracking stops.
I want to make my personal jogging tracker with some additional features so i want that the tracking goes on.

I'm afraid that is only possible with a pure native App in Objective-C.

Any Ideas?