Currently in the Android Store as Shoe Mileage Tracker app; feel free to download that app and see if this code is enough of a boilerplate to do whatever it is you may need to do.
Components: Framework 7 | Cordova | PhoneGap
Components: Framework 7 | Cordova | PhoneGap