Hi! In my datafield, I would like to add a true/false variable that the user can edit using Garmin Express.
Under resources I added the following files:
- resources/properties/properties.xml
[HTML]
<resources>
<properties>
<property id="mySetting" type="boolean">true</property>
</properties>
</resources>
[/HTML]
- resources/settings/settings.xml
[HTML]
<resources>
<settings>
<setting propertyKey="@Properties.mySetting" title="@Strings.mySetting_title">
<settingConfig type="boolean" />
</setting>
</settings>
</resources>
[/HTML]
Now I can read and write the property from my code using:
- Application.Properties.getValue("mySetting");
- Application.Properties.setValue("mySetting", true/false);
From Eclipse I can also edit mySetting using the App Setting Editor, but if I open the app list from Garmin Express I can't edit the settings of my datafield.
What am I missing?