I have on-device settings working for boolean values.
I want to give the user the ability to change colors on the device.
I have this coded for settings as follows
<string id="white">White</string>
<string id="lt_gray">Light Gray</string>
<string id="dk_gray">Dark Gray</string>
<string id="black">Black</string>
<string id="red">Red</string>
<string id="dk_red">Dark Red</string>
<string id="orange">Orange</string>
<string id="yellow">Yellow</string>
<string id="green">Green</string>
<string id="dk_green">Dark Green</string>
<string id="blue">Blue</string>
<string id="dk_blue">Dark Blue</string>
<string id="pink">Pink</string>
<setting propertyKey="@Properties.set_DataColor" title="@Strings.set_DataColorTitle">
<settingConfig type="list" required="true" >
<listEntry value="0">@Strings.white</listEntry>
<listEntry value="1">@Strings.lt_gray</listEntry>
<listEntry value="2">@Strings.dk_gray</listEntry>
<listEntry value="3">@Strings.black</listEntry>
<listEntry value="4">@Strings.red</listEntry>
<listEntry value="5">@Strings.dk_red</listEntry>
<listEntry value="6">@Strings.yellow</listEntry>
<listEntry value="7">@Strings.orange</listEntry>
<listEntry value="8">@Strings.green</listEntry>
<listEntry value="9">@Strings.dk_green</listEntry>
<listEntry value="10">@Strings.blue</listEntry>
<listEntry value="11">@Strings.dk_blue</listEntry>
<listEntry value="12">@Strings.pink</listEntry>
</settingConfig>
</setting>
The user then uses either the phone settings or garmin express on the computer to change the settings. I have looked at the examples, but not able to find how to do this on the device. Can someone share some code? Again I have the boolean working via Menu2 code.
Thanks
Ronnie