Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.64 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.64 KB

Garmin Connect IQ seed

This is a seed project for writing Garmin Connect IQ applications. Instead of using the Eclipse plugin (which works rather poorly...), you can use any text editor of your choice and compile, run or package your project using make.

Setup

All you'll need to get started is edit the properties.mk file. Here's a description of the variables:

  • DEVICE - device type you want to use for simulation (e.g. fenix3, vivoactive, epix...)
  • SDK_HOME - home folder of your SDK (e.g. /Users/me/connectiq-sdk-mac-1.2.9)
  • PRIVATE_KEY - path to your generated RSA private key for signing apps (needed since CIQ 1.3) (e.g. /home/.ssh/key/id_rsa_garmin.der)
  • DEPLOY - if you want to hot-deploy to your device, that's the mounted path for the APPS folder (e.g. /Volumes/GARMIN/GARMIN/APPS/)
  • SUPPORTED_DEVICES_LIST - a space-separated list of ConnectIQ device names to be used when building using make buildall. The device names are the same as used in the CIQ manifest file (e.g. fenix3 fenix3_hr fenix5 fenix5s fenix5x).

Targets

  • build - compiles the app
  • buildall - compiles the app separately for every device in the SUPPORTED_DEVICES_LIST, packaging appropriate resources. Make sure to have your resource folders named correctly (e.g. /resources-fenix3_hr)
  • run - compiles and starts the simulator
  • deploy - if your device is connected via USB, compile and deploy the app to the device
  • package - create an .iq file for app store submission

How to use?

To execute the run target, run make run from the home folder of your app