Compare laps from previous activities

I'd like to write an app (unless there already is one) that shows me my average pace and average HR for each lap against that last time I ran the same route. Looking through the SDK I can't see a way to do that directly. Is that right? If not, I'm happy to use settings or a companion app to load the previous lap data into my app.

Could anyone give me any advice or suggestions on doing this, or perhaps point to any other source code of something that does something similar/related?

Thanks

  • I was thinking that perhaps I could use a web app to select the course and date for the previous activity and then the datafield would just retrieve the laps from that. Is that not possible?

  • A DF can do something like a makeWebRequest, but only in a background service, which can run at most ever 5 minutes.  So that may or may not work for your use case.

  • I only need to make the webrequest once to gather the pre-selected lap data from a web interface. I don't want to do any interactions with the DF. I'm thinking I go to the web site, select my comparison activity, then go out for a run and wait until the data has been downloaed.

    I guess this isn't a popular use-case so I'm just going to have to see whether it works out or not.

  • This is my first posting and from what I have read, you guys are doing much the same as I what I'd like to... basically upload time/distance info in to a table/data file and use it compare with my then current time/distance and so calculate if I am on schedule.  Do you have any recommendations of where I can get explanations of how to write Connect IQ apps.  There are lots of words on the web but I need examples to fiddle with.  Many thanks.