Hi all,
First of all, kudo's for you all! Developing for Garmin seems to be asking for a lot patience :-)
I am playing around to see if I can create an app with some statistics for activities from the past. Lets say the last 12 to 24 months of activities.
I made the incorrect(?) assumption that I potentially could use UserProfile.getUserActivityHistory() for this and loop over all activities. At least for a basic start. Possibly there is some optimization possible. This seems to work ... however ...
I have 2 watches and I noticed my activity .fit files seem to be present on 1 of the 2 watches only. I had hoped that the unified training status feature would sync these. Unfortunately that syncs other metrics. My old watch is a FR745 and new one is a FR965. So looping over the activities does not give a complete result on either of these watches.
My questions:
1) Is it possible to interate over activities that are not available (yet?) on the watch? (different api call, download, ...)
2) Would manually copying fit files between the watches cause any problems?
My current super slow workflow is:
- try something like a println in vscode
- compile
- connect watch / copy prg file to watch / disconnect watch
- run app
- connect watch again
- look at log files
- repeat
This is because I do not seem to be able to supply activities to the app via the emulator.
Question 3: Any tips for improving my terrible workflow?
Thank you,
Jan