Most fitness devices generate FIT files these days to save activity data. For example if you have a Garmin running watch (Forerunner, or Fenix, etc.) you will see an ACTIVITY folder which contains various FIT files if you have run with it.
Otherwise, the SDK can encode and decode FIT files in C/C++/C# and Java, so you could just make your own file using the example code provided.