Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

Thank you very much Maryna! The data is populating in all four label fields. Beautiful! Yet I fear there is still quite a large margin of inaccuracies in the data.

With my device, when I recorded a 12 minute ride, the entire time the altitude label expressed a value of about 0-15 ft. I'm not sure if that data is above sea level or not, but I researched online the actual altitude of the area recorded, and it seemed to be more like 100 ft above sea level.

More importantly though, when I press the "view ride data" button, the app doesn't navigate to "results" page. Below is the screenshot of logcat in Eclipse when the button is clicked.

Also, is there a way to write the computations to exclude outliers in data, thereby making the overall average speed and distance ultimately more accurate?

Thank you so much! Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Journey Recording using GPS Tracking

Hello! Sorry, no news yet. I'll update.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

Thank you very much!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Journey Recording using GPS Tracking

Hi,
1) "exclude outliers in data" - could you clarify what do you mean?
2) altitude is taken not from sea level, but from start point
3) "the app doesn't navigate to "results" page" - on results page on page show event in line 27 there is an extra bracket, delete it.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

I deleted the bracket in line 27 on "results" page show event and I get this feedback in logcat: Image When I click "view ride data" button. What could be the problem? Thank you very much!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Journey Recording using GPS Tracking

Hello Joe! We'll take a look, but it might take some time.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Journey Recording using GPS Tracking

On results page Show event in the end there is missing right bracket }

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

Thanks Maryna! I believe I've added the } at the end of the page show event. Still nothing happens when I click "view ride data" button. What else could be the issue? Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Journey Recording using GPS Tracking

Hi Joe,

Do you test on device? Do you save the journey beforehand? Probably there is nothing to display.

Add the following to check the localStorage content:prealert(localStorage.getItem("coordsArray"));
alert(JSON.parse(localStorage.getItem("coordsArray")));/prePlease post screenshots of your alerts, if needed.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

Thanks Katya! Well, here it is, the logcat after I record a ride and click "view ride data" button. Image
Also there is now an enormous list of alerts when I click the button as well. There is no way to capture them all, as the list is expansive, but it looks something like this:

[{"time": 1386470020957,"lat":45.48666952,"lng": -122.634895256,"alt":11.699999809265137,"speed":0},
{"time":1386473321965,"lat":45.48665257,"lng":-122.63487527,"alt":22,"speed":3.571},{"time":1386473322973,"lat":45.48662909,"lng":-122.63487431,"alt":13.699999809265137,"speed":.5.357},

etc, etc. Why is this coming up in the alert window?

after I click "ok" another alert dialog comes up, and displays:

{object Object},{objectObject}

over and over again. What do these alerts indicate? Thanks so much for your help!

Return to “Issues”