menu box to enter info?

I have the menu in connect iq app working and can select from list or check box, but how do i go about setting it up so numbers or text can be entered on the app? Like if i wanted to have someone be able to enter their name and it show up on the watchface.
  • The easiest way to enter something this is with app-settings, but if you want to do it on the watch itself, look into using the generic Picker. (There's also the watch specific NumberPicker and TextPicker on some watches right now)
  • im not trying to enter info from the watch. what im trying to do is the following.

    I have seen watchfaces that let you go into the settings menu on the mobile app. and instead of checking a box or selecting say a color for background from the drop down.... you have a box that you can type into. so if i type my name in the box, i could then use this and have it displayed on the watch face... or if i wanted to use it to add or subtract 5-10 min from the current time. i guess this is also what people are using to grant codes for optional features on their watchfaces... that if what ever code is entered in the box doesn't match, the other menu items wouldn't work.


    currently i am using settings and understand how to use settingConfig type="list" and "boolean" what would i use to get the box so that i can use what is typed in it? would properties.xml and strings.xml need any code so that they function?
  • Yes. Have a look at the ObjectStore sample program for an example of how to add app settings that are controlled from Garmin Connect Mobile or Garmin Express.

    Travis
  • If you use the property type of "string" and setting type of "alphaNumeric" you can enter a string with app settings.

    if you use a property type of "number" and a setting type of "numeric" you can enter a number (only numbers, no characters).

    As Travis said, you'll see this in the ObjectStore sample (screen 2), and it's also under "settings" in the programmer's guide.