Yes, sorry about that - the Banglerun app is literally the only app in the app store that's written in this way, and you're not the only one to find it difficult to modify.
What did you actually want to do with your mobile app? Stream the data live, or retrieve recorded data?
So you could actually just connect to the Bangle and grab the data from each run even without having to modify the app.
In fact if you were happy to write a webpage (progressive web app) to retrieve the data (rather than a native phone app) then you could use the interface.html from the GPS recorder app https://github.com/espruino/BangleApps/tree/master/apps/gpsrec as a starting point - it has most of what's needed to list files, read data and dump it - so you just need to interpret the slightly different BangleRun data which has a few more columns.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, sorry about that - the Banglerun app is literally the only app in the app store that's written in this way, and you're not the only one to find it difficult to modify.
What did you actually want to do with your mobile app? Stream the data live, or retrieve recorded data?
As I understand it the BangleRun app actually creates a log of each run anyway: https://github.com/espruino/BangleApps/blob/master/apps/banglerun/src/log.ts#L25
So you could actually just connect to the Bangle and grab the data from each run even without having to modify the app.
In fact if you were happy to write a webpage (progressive web app) to retrieve the data (rather than a native phone app) then you could use the
interface.html
from the GPS recorder app https://github.com/espruino/BangleApps/tree/master/apps/gpsrec as a starting point - it has most of what's needed to list files, read data and dump it - so you just need to interpret the slightly different BangleRun data which has a few more columns.If it helps there's even code to graph stuff here: https://github.com/espruino/EspruinoApps/blob/master/apps/bletemplogger/interface.html