Show field app settings

So I have seen some datafields capable of changing the settings on the device (Garmin 1040). Made by others - Windfield is one of them.

The settings are shown by holding the finger on the datafield and then pressing the setting (gears) icons that appers - I can then select "ConnectIQ datafields" and then "Windfield".

How do I publish my settings to such a setting screen ?
I see there are some functions to implement in my datafield, like OnSettingsChanged() & GetSettings()

I've been looking around for an example with no luck...

  • (although you haven't really shown how settings are accessed - I assume there's some button on your full-screen data page.)

    Yes - you‘re right. It is described right at the beginning of the instructions:

    http://mcinner.at/files/GuideAllinOne_E.pdf

  • - not all CIQ watches support touch for data fields

    The OP saw this setting option on a Garmin Edge 1040. So, I assumed he is using one and it is maybe of interest…

    And I have to admit, I never think about watches because I only code for Edge devices Rofl

  • The OP saw this setting option on a Garmin Edge 1040. So, I assumed he is using one and it is maybe of interest…

    That's fair but my point still stands that your solution is really the same amount of work (or more) for you (the dev) as "real" on-device settings (accessed through the standard menu, giving you full control of the UI in the settings view your app returns). It's only slightly more convenient for the user, but ofc it's much more limited (as it supports taps only [*]). And it's not a general solution for all devices.

    (* unless swipes work in a CIQ data field for Edge devices? I don't think they do, but I could be wrong. They def don't for watches)

    A *general* solution would be to use on-device settings.

    And I have to admit, I never think about watches because I only code for Edge devices

    Fair enough. I rarely think about Edge devices tbh

  • That's fair but my point still stands that your solution is really the same amount of work (or more) for you (the dev) as "real" on-device settings (accessed through the standard menu, giving you full control of the UI in the settings view your app returns). It's only slightly more convenient for the user, but ofc it's much more limited (as it supports taps only [*]). And it's not a general solution for all devices.

    I‘m sure you‘re right!

    To be honest, when I coded my Quick Setting, I didn't know anything about the on-device settings standard menu. I actually only found out about it through this thread. I only started using Monkey C two years ago and am still learning.

    I've been using Edge devices longer as CIQ has been around. I don't even know how many years that's been, but I've never seen an IQ data field with this feature. I downloaded WindField to see it for the first time. Wink 

    So I've got another project to work on!