Hi,
I'm working on a device app, and am trying to show a list of all workouts - but despite my best efforts it doesn't seem like the simulator is capable of this.
First I connected my watch by USB and copied the .fit file of a workout - one I built from within the Garmin Connect app.
Then, I found where the simulator keeps its local workouts (%localappdata%\Temp\GARMIN\Workouts) and tried to start up the simulator. I noticed that the file got deleted, so I'd assume that the simulator does a clean wipe every time it starts up.
So I tried to start the simulator and only then copy over the file, but still to no avail - when running the following code snippet, "currentWorkout" is always null.
var iterator = PersistedContent.getWorkouts(); // Get the Iterator var currentWorkout = iterator.next(); System.println(currentWorkout);
It seems that manually pushing files to the simulator is unsupported, despite the simulator having several UI options that do just that.
I would love to know if there was some kind of workaround to simulate this, working directly from my watch is significantly less comfortable.
Thanks!