Connect IQ SDK v2.2.1!

The Connect IQ 2.2.1 release is now available for download!

You can get it one of two ways:

  • Use the Connect IQ SDK Manager in Eclipse, by clicking the Connect IQ menu, selecting Open SDK Manager, and then clicking the Download button for Connect IQ SDK 2.2.1 released November 8, 2016.
  • Download directly from our developer site at http://developer.garmin.com/connect-iq/sdk/

General Changes

  • Update the compiler to include warnings when a module and class share the same name.
  • Prevent zero/negative width characters in custom fonts.
  • Fixed directory name build exclusion bug. Now excluding “source_fenix3” won’t also exclude “source_fenix3hr”.
  • Fix compile time error with using clauses when trying to use a previously defined ‘using’ label in another ‘using’ label.
  • Fix bugs in the “Not all code paths return a value” and “Variable used before being initialized” error detection logic.
  • Update the Windows monkeydo script to prevent shortening of PRG file names.
  • Enable limited Selectable functionality in data-fields; the Highlighted state is not possible in this mode due to input restrictions. Remove support for Buttons and View.setKeyToSelectableInteraction() when in data-fields.
  • Various fixes related to stability and security.
  • Updated Programmer’s Guide, UX Guide and API documentation with fixes and new additions.

Simulator Changes

  • Fix issues which may cause a crash when trying to download FIT files.
  • Fix a crash that occurred when clicking a progress bar.
  • Add an ANT+ sensor dialog that shows ANT+ sensor and allows pairing and unpairing.
  • Add menu item to clean up persisted content storage within the simulator.
  • Fix “pen” set-up issues to draw primitive shapes correctly.
  • Update monkeydo.bat to support /t and -t, and correct the Programmer’s Guide to specify use of -t for Run No Evil commands.
  • Fix vivoactive HR swipe direction definitions.
  • Fix NumberPicker / isSleepMode missing on Connect IQ 1.x simulated devices (fenix 3, Forerunner 920xt, etc).
  • Add a 240x240 Round Device.
  • Deprecate Round Watch, Square Watch, Semi-Round Watch and Tall Watch generic devices. If one of these generic devices is detected in a manifest file at compiler time a warning is printed indicating the device will be removed in the future.

Known Issues

  • If an Exception is thrown from a catch block, the finally block of the current try/catch/finally will not be executed.