Combining 3 datafields into an APP

I have written three datafields that I would like to be able to use within the same activity. I understand that this is not possible on Fenix 3 or 5. So I am considering combining them into an APP. I have zero experience in writing APPS. I am guesing that I would need to deal with things like, start/ stop and up/down buttons to select my existing pages etc. I also would like the standard GPS logging to a FIT file that the standard "RUN" app uses. I was wondering if there is an existing basic example APP that has this standard stuff already coded that I can use as a base.

Thanks

  • The recordsample in the SDK is a very basic example of recording a fit file, but there's a whol;e lot more that you'll probably want to do in a full blown device app.  You have to handle pretty much everything - displaying any data a user wants to see, handling laps, etc, etc, etc.

    You have 3 DF, and I'm guessing they are simple data fields.  An easier solution might me to build a complex DF that displays what you display in all 3 and just use that inside of the native activity.

    All wearables have a limit of 2 CIQ DFs, so not just the f3 and f5, and something else to consider is the max size of a DF, memory wise.  A f3 is only 16kb, while other devices can be much higher (32kb on an f5, 128kb on a f6pro, etc)

  • My three data fields are complex fields and display up to 8 items on each page.  I am struggling to keep the code under 16k. So by changing to an APP I would have 64k (Fenix 3). I don't need things like laps, just need to change between the pages and log to FIT the same as the "RUN" app does.

  • With a full blown app, 64kb isn't really that much.  And as a note, on the f3, you only have 60kb, as when you start to record, the system grabs 4k,  I'm thinking you'll need things in addtion to your data, like maybe the timers, as well as starting/stopping/saving the recording

    This is why I have a app called Hike for CIQ 1 devices, and another called Hike2 for CIQ2 or greater devices.  It was easy to burn through 60-64k with a device app.