I'm starting to integrate the .fit file format in my app. My app stores GPS information and other bike information during a ride.
In the SDK there is the example for create the Activity. But the file created with this example is not compatible with Garmin Connect. When I create it and I try to import it in Garmin Connect, the web site doesn't accept the file but the error is without any detail.
Is it possible to have an example in Java to how to create the .fit file for an activity "compatible" with Garmin Connect?
I'm able to create file compatible for Strava and other platform, but not for Garmin Connect.
Thanks a lot.