Device Specific Builds - Run Time Loading?

I've written a number of Data Fields, that have features that require more than the 26kb allowed by some devices. So I resorted to creating two versions - a stripped version for the Garmin 520 (under the 26kb limit), and the full featured version for the Garmin 820, 1000, and 1030 (under the 122kb limit).

I just ran across the "Device-Specific Qualifiers" and "Build Exclusions". I *think* that will allow me to create ONE data field, compile it into a single PRG file. Publish it. And when it runs on the 520 it'll only load the limited feature set (under 26kb) defined by the device specific build files, but when run on the larger memory devices, it'll load the full set of features?

Is this possible? Conditional device specific run time loading?

Thanks!
  • When you build a .iq file, (which is actually a .zip), there is a separate .prg per target, so the .prg itself is for the 520 vs 1000 for example. The user get's the .prg for their specific device, with only those features for the device built in. Using resource overrides/Build excludes is one way to do device specific, for sure (have one app in the store and the smaller version is downloaded for the 520 and the larger one for the 1000). This is fairly common in apps that support both 1.x and 2.x devices for example. (16k vs 26k for DFs there)

    But, you may want to look at 2.4.0beta1 and jungles. Apps built with the 2.3 overrides and excludes still build, but Jungles is a more flexible.