Widget: Activity History

Former Member
Former Member


https://apps.garmin.com/en-US/apps/df50a873-3938-450f-ba06-934723a38781

This just shows the last week's history from the activity tracker. There are other widgets like it, but none for the Fenix 3 so I wrote this.

Press START to cycle through steps / distance / calories.

Changelog

1.1.3 - Remove workaround since it's now fixed in ConnectIQ
1.1.2 - Add workaround for ConnectIQ timezone bug
1.1.1 - Fix accidental upload of debug version :-)
1.1 - Visual tweaks
1.0 - Initial version
  • Thanks for the app and thanks for sharing the sourcecode - In order to get started with some development myself then I tried to import your code into Eclipse Luna but failed to do so.

    My setup is a Mac, with Eclipse Luna installed and I tried to download/import by saying File, Import, Project from Git and the link but that did not work, nor did the download to a local folder and then an Import.

    Could you share your secret on how you did your setup og and project.

    Thanks!


    hahaha... you will need to figure it out. Simon don't use eclipse on his (mac i presume).
    I had a FUN time deciphering how exactly he does his coding and the way he lays out his codes and then to figure out how to compile it.
    All in all - his code was what gotten me out of some ruts (tho his code itself has made me bang my head a few times. but it's all good!)

    nett-nett - my advise is this - forget trying to import it into eclipse, it would take quite some work to figure it out (i tried and ended up not trying as hard)

    just study the code and learn from it.
  • Great app!

    I would agree with the one posting that says it would be nice to get today's data in there too, but I can live without as daily step counter is just a button away.
  • Incorrect day/date shows

    Great app, but today it is showing something a little odd. Maybe it has done this for a while and I never noticed, but I see that the wrong days are displayed on the left. e.g. today it is Thursday 18th, but the last entry shows as T 16 for Tuesday next to the steps for yesterday.

    All the data is showing correctly, just the day/date is off by one. e.g. I have:

    W 10 10463
    T 11 4070
    F 12 31050
    S 13 28041
    S 14 929
    M 15 9313
    T 16 7616

    but it should show

    T 11 10463
    F 12 4070
    S 13 31050
    S 14 28041
    M 15 929
    T 16 9313
    W 17 7616

    I am located in the UK too so am surprised to see an anomaly like this.
  • Its a bug in the Device FW. I supposed it was fixed in the latest SDK release but have not tested it.
    IMHO, depending on where you are, GMT+8 for instance, it will only switch at 8am (like for my Activity History Countdown app)
  • Former Member
    Former Member over 10 years ago
    That is correct, this should be fixed in the device firmware updates that bring in 1.1.2. I expect most of them to be available soon.
  • That is correct, this should be fixed in the device firmware updates that bring in 1.1.2. I expect most of them to be available soon.


    Just curious if we we actually need to do anything w/ the code to get it fixed?
    Ive not recompiled my app w/ the new SDK and it's still showing the error. I'm already on F3 3.4 1.1.2
  • Former Member
    Former Member over 10 years ago
    I don't know. It depends on if the app was doing anything to compensate for the bug. The start of day from activity monitoring history should return midnight local time for all entries now.
  • Just curious if we we actually need to do anything w/ the code to get it fixed?
    Ive not recompiled my app w/ the new SDK and it's still showing the error. I'm already on F3 3.4 1.1.2


    I tested it in the 1.1.2 simulator (now that you can dummy up this history! :) ) and it works fine there. For the current FW on devices, I add a duration of a day to the StartOfDay moment, and it displays correctly there. (YMMV)
  • I don't know. It depends on if the app was doing anything to compensate for the bug. The start of day from activity monitoring history should return midnight local time for all entries now.

    Pretty sure this is it. I think the app is adjusting for the bug and now this is fixed we are a day off. I have updated the code locally to correct it for me and have a working version on my watch now.
  • Pretty sure this is it. I think the app is adjusting for the bug and now this is fixed we are a day off. I have updated the code locally to correct it for me and have a working version on my watch now.


    Thanks. Will update my code to see if it workd then.