get sample GPX file has distance, time and heartrate
-a quick google search of "java program upload file to strava" pretty much has it done already
-take a look at Strava's API docs
-you'll need a strava account obviously
the app should look in a folder, say ...../ticfit/GPX, it lists files in the folder, and you can choose which ones to sync
-send .gpx file to apps(runkeeper,strava)