Page 1 of 21

Journey Recording using GPS Tracking

Posted: Fri Apr 19, 2013 12:36 pm
by Joe Paisley

I would like to make a page in my app where the user may press a button and begin recording a bike ride.

They should be able to:

  • View their location at any given time on the map component

  • View their data in real time as they ride, such as elapsed distance and current speed

  • Press another button to cease the recording

  • View the summary of all of the data at the end which includes average speed over the recorded time, the time elapsed, the distance traveled, and the route which they traveled on a map
    -Share the summary of data via social network

    Are all of these things possible? Thanks for your amazing help, I couldn't get anything done without you!

    The project should be shared with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a


Journey Recording using GPS Tracking

Posted: Fri Apr 19, 2013 1:21 pm
by Kateryna Grynko

Hi Joe,

Appery.io Geolocation service provides current coordinates only. You would need to store somewhere (for example, in localStorage or Database) coordinates and time they were got. Use JavaScript to calculate time, distance, speed and average speed.
Here you can read how to find distance: http://en.wikipedia.org/wiki/Great-ci...
Grahp API is for creating posts on Facebook: http://developers.facebook.com/docs/r...


Journey Recording using GPS Tracking

Posted: Fri Apr 19, 2013 1:27 pm
by Joe Paisley

Wow Katya,

That Wikipedia link looks like a completely foreign language to me. I'm not sure that I'm able to write out all of those formulas. For some reason, I thought it might be easier. But I suppose localStorage would be preferable, if I could even accomplish this. Any possibility you could walk me through it when you get a chance?


Journey Recording using GPS Tracking

Posted: Fri Apr 19, 2013 1:44 pm
by Kateryna Grynko

We are here to help. We'll find out how to do this.


Journey Recording using GPS Tracking

Posted: Fri Apr 19, 2013 3:50 pm
by Joe Paisley

I can't thank you enough!


Journey Recording using GPS Tracking

Posted: Mon Apr 22, 2013 12:15 pm
by Joe Paisley

Any luck this monday?


Journey Recording using GPS Tracking

Posted: Mon Apr 22, 2013 12:16 pm
by Maryna Brodina

Hi, not yet, sorry. I'll update after I get any information.


Journey Recording using GPS Tracking

Posted: Mon Apr 22, 2013 4:49 pm
by Kateryna Grynko

Hi Joe,

Let's try to do it together. Did you start this?
Where did you stop? What are the exact problems with JavaScript?
Did you try this tutorial? http://docs.appery.io/tutorials/build...


Journey Recording using GPS Tracking

Posted: Mon Apr 22, 2013 5:24 pm
by Joe Paisley

As far as I've gotten is this "recordride" page in my project:
Image
How do I go from here?


Journey Recording using GPS Tracking

Posted: Mon Apr 22, 2013 9:08 pm
by Kateryna Grynko

Joe,

We would need some time to think about it.