Connect IQ 2.1 SDK Preview!

The Connect IQ version 2.1 preview SDK is now available on the developer site!

We're excited about this release because it adds a bunch of new features that many Connect IQ developers have been asking for, like custom FIT recording, OAuth, Widget & App support for Edge products, and more! You can find out all about it and download it here:

http://developer.garmin.com/index.php/blog/post/connect-iq-2-biker-monkey

Since this is a preview, you won't be able to export apps for submission to the app store, but you can build apps to side load to your own device for development and testing purposes. Please give it a try! If you have feedback or notice any bugs, you can post to this forum or send your comments to the Connect IQ team at [EMAIL="[email protected]"][email protected][/EMAIL].

Thanks!

- The Connect IQ Team
  • fittocsv in in the fit SDK available at:

    https://www.thisisant.com/developer/resources/software-tools/


    Awesome, thanks! Data is indeed in the FIT file... :)
  • Issue: create new project, based on SimpleDataField in 1.2.11 SDK. It's created with
    function onStart() { }
    function onStop() { }

    Switch to 2.1. It will not run and stops with error:
    Failed invoking <symbol>
    Too Many Arguments Error
    in onStart (C:\Garmin\Work\TestUTF-8\source\TestUTF8App.mc:10)
    Connection Finished
    Closing shell and port


    Message "Too Many" for empty argument list looks confusing. Seems to be since 2.1 input parameter state became mandatory and all examples from 2.1 are correct.

    function onStart(state) { }
    function onStop(state) { }

    - (Object) onStart(state)

    Before the initial WatchUi.View is retrieved, onStart() is called. This is where app level settings can be initialized or retrieved from the object store before the initial View is created.

    Parameters:
    state (Dictionary) &#8212; Unused
    Since:
    1.0.0


    Summary : to fix message, expected "Too few" words.
    Make a correction in documentation, about mandatory parameter.
  • I've updated the error message to be more clear. Thanks for the report!
  • EDIT: Sorry, I'm slow. I didn't realize this was already answered.

    I've created an app with settings and a fitcontributor and I'm testing it by side loading it on to my device. The device doesn't show my field in the summary at the end of the activity, I can't see anything about it in the Android app, and the Connect website isn't showing anything, so I'm not really sure if the data is being written to the FIT file. Where can I find this "fittocsv" app? I've looked in the SDK directory and googled around and I'm not really finding much. GPSBabel doesn't work with the newest version of FIT, so at this time there's really no way for me to see what's going on with the fitcontrib data.


    You can download the latest FIT SDK here. You might need to sign up as a developer but I think that's free.

    https://www.thisisant.com/resources/fit/

    Then in the java folder of the FIT SDK, there is a FitToCSV.bat file. Drag your .FIT file on top of that .bat file and it will make it into a .CSV file. I've tested this with the new Developer data files created by the Beta 2.1 CIQ SDK and it works.
  • Fit file corrupted

    Hi,

    I have modified different app to store data in .fit and various files have been created corrupt :(

    do not waste more time.

    bye
  • After downloading and activating SDK (2.1.2) and forcing a new install of the connect eclipse plugins (version 2.1.1) I still have problems to generate a develloper key because I couldn't find the function to generate. It is missing in the dialog window:



    What is my fault?
  • It looks like you didn't update the Eclipse CIQ Plug-in. In Eclipse, go to Help>Check for Updates.
  • Shure. I searched for updates, find nothing, than I deleted the plugins and reinstall them:
    - Connect IQ IDE, Version 2.1.1
    - Connect IQ SDK Manager, Version 2.1.1
    Are they up to date?

    Thank you, Jim, for your thoughts!
  • 2.1.1 is correct for the Eclipse Plugin, and you should also now be able to generate a developer key (you want to keep that key in a safe place and not lose it, as once you use it to upload something to the app store, the same key is needed to update that app in the app store in the future..)
  • Yes, I should.
    But look at my screenshot: The Generate-Button is missing.

    Edit: Problem solved. I had to install eclipse neon (not luna), no I could find the button to generate a develloper key.