Hey all,
couldn't find a similiar question for this topic so I was hoping you could help me out here.
In my app I'm downloading FIT files from an API through Communications.makeWebRequest and after investigating I noticed that the files (if the request was successfull of course) are immediately stored in the flash.
At first I thought that it's not big deal since I have the reference through the iterator returned from the callback so I could just do:
def callback(code, data) { if (code == 200) { var course = data.next(); var intent = course.toIntent(); course.remove(); System.exitTo(intent); } }
The problem is that the data of the course has vanished at this point so while the device proposes you to choose from an activity for this intent and you can launch that activity, there will be no waypoints to navigate to.
So the only way to guarantee that the navigation works is leaving the file stored in the flash which is probably not what a user expects nor wants though.
Is there anyone working with FIT files aswell and found a workaround or has an advice for me?
Thanks in advance!