Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 66

Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
09/04/12 02:41 AM (13 years ago)

Running Plugin

Trying to figure out how i would make a plugin that will give the jogger a timer, distance and calorie count all on one page and they gives you a total at the end when user hits done. Example, you go for a run, via GPS you hit start time begins, gps begins and calorie count is based off of miles ran. Kinda like the Endomondo app. Anyone
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/04/12 08:45 AM (13 years ago)
sounds like a lot of custom coding there. NSTimer will probably be used and you're going to need some type of GPS tracking and a back-end db to keep the start/end points. maybe have that back-end calculate the distance and spit the results back to the app? Mark posted a great tutorial on posting a device location to a db. That would be a good exercise to try and could be modded to fit this. That tutorial is awesome on a lot of levels. Excellent stuff. Parse and Xtify have back ends that work with location you might explore as well...
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
09/04/12 08:51 AM (13 years ago)
Thanks. I'm actually reading his tutorial as i type. Pretty well written. Ill keep you posted.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.