Interacting with recording session from a Datafield app?

I am starting to play around with the Connect IQ SDK and was trying, as a test project, to redevelop the lost "auto lap by position" feature.

I guess I could build an app that starts recording, monitors the position and adds a new lap when the location comes within a set distance of the start. Trouble is I would have to handle all the display (and have a hard time offering all the options of the standard running mode).

I thought about developing a new datafield instead. The datafield would just monitor the distance between the currentLocation and the startLocation (both in the Toybox.Activity.Info object) and add a new lap when required. To add a new lap, the datafield app would have to link to any existing recording session but not create one on its own. Is this even possible?

Also, do datafield apps run in the backround (if you are on another page for instance)?
  • Former Member
    Former Member over 9 years ago
    Watch Apps are the only application type that have any access to FIT recording.

    Data Fields do run when they are not visible, but they cannot manipulate the FIT timer in any way.
  • yes. Something like that is only possible via an app. It's basically sort of like recreating the wheel but that's the only way to get it done for now.

    But it does open up possibilities.

    I will add as well that Such an app already exists on the store with the auto lap by position feature.