application settings

Probably a stupid user error but I'm playing around with application settings and in my resources folder I have resources.xml

<resources>
    <properties>
    	<property id="key" type="number">5</property>
    </properties>
	<settings>
		<setting propertyKey="@Properties.key" title="title" prompt="prompt">
			<settingConfig type="numeric" errorMessage="error" />
		</setting>
	</settings>
</resources>

but I don't see anything showing up in the IDE App Settings Editor. Configuration file in wrong place or something else?

Top Replies

All Replies

  • Umm, hold a sec, those have to be string references?

  • I actually managed to submit my beta app and sync it to my device but I get the impression that the settings should be available in the Garmin Connect under device -> application etc until I see my app. But when I click the app I only see the picture of it and the options are pretty much limited to "remove". Is it here the settings should show up?

  • Were you running a sideload before?  First thing I'd do is uninstall from your device and re-install from the store, just to make sure you got the proper one.

  • Yep. Removed the sideload from the filesystem and update the beta store with a new version (visible in-app). The device -> Activities, Apps & More -> Activities & Application -> MyApp show just the image, name, size and a "View in Store"-button. The context menu has Uninstall and Cancel.

    And the settings should be OK since the work in the IDE App Settings Editor

  • The info for settings is actually in the .iq file, and when you use settings in GCM, it actually gets info from the app store.  Are you sure you didn't upload an old .iq?

  • Yes, the settings were in use when I did my first export.

    What does look a bit strange is when you peek into the .iq file with e.g. 7-zip, there are *two* folders (006-B3nnn-00) with identical CRC (and the both contain the -settings.json file. The manifest references them both

    Should it be like this or have I messed up someplace when I renamed my app?

  • What does look a bit strange is when you peek into the .iq file with e.g. 7-zip, there are *two* folders (006-B3nnn-00) with identical CRC (and the both contain the -settings.json file. The manifest references them both

    There should be a device folder for each part number supported by your app. The device part number is the 006-BNNNN-00 number you mention.

    It sounds like that is working as it should.

  • Hmm. I only target once device but OK, they are identical and I only end up with the matching app installed so it shouldn't matter.

    Another strange thing is that I looked at the matching .SET file in the SETTINGS folder with a text editor and I can see the setting-ID:s in there. Which would kind of indicate that they are known to the store and synced by the app. Can it be something with localization? I currently support only English but have all my resources in the plain resources folder. But then again, everything works as expected.

    There is of course the embarrassing possibility that I'm looking for the application settings in the wrong place or something

  • You only see the ROW devices in the sim, but when you build a .iq, it will do the APAC version too,

    So if you target the 245m for example, you'll see this in the .iq's manifest:

    <iq:product connectIqVersion="3.1.6" filename="006-B3321-00/BleScan.prg" id="fr245m" minFirmwareVersion="400" partNumber="006-B3321-00" sig=....


    <iq:product connectIqVersion="3.2.0" filename="006-B3077-00/BleScan.prg" id="fr245m" minFirmwareVersion="500" partNumber="006-B3077-00" sig=...

    And generally, the two would be the same.. if you didn't do languages.

    As far as the .set file, that gets created with the defaults the first time you run your app. and what you are seeing are the keys used to access things.