The Connect IQ 8.3.0 SDK is now available via the SDK manager. Here are some of the updates:
Developer Dashboard
The developer dashboard is moving to a new location. Please update your bookmarks appropriately.
Supported Activities
On devices with API level 5.2, data fields have a post-install flow that lets the user associate them with activities. If you want to filter the list of available activities, you can include an activity filter in the manifest. Here's an example that will filter the available activities to outdoor running activities:
<iq:activityFilter>
<iq:activity sport="Toybox.Activity.SPORT_RUNNING" subsport="Toybox.Activity.SUB_SPORT_GENERIC" />
<iq:activity sport="Toybox.Activity.SPORT_RUNNING" subsport="Toybox.Activity.SUB_SPORT_TRAIL" />
<iq:activity sport="Toybox.Activity.SPORT_RUNNING" subsport="Toybox.Activity.SUB_SPORT_TRACK" />
</iq:activityFilter>
Here are some examples of supported activities:
Activity |
Sport |
Sub-Sport |
Running (All) |
Activity.SPORT_RUNNING |
None |
Trail Running |
Activity.SPORT_RUNNING |
Activity.SUB_SPORT_TRAIL |
Track Running |
Activity.SPORT_RUNNING |
Activity.SUB_SPORT_TRACK |
Treadmill Running |
Activity.SPORT_RUNNING |
Activity.SUB_SPORT_TREADMILL |
Indoor Running |
Activity.SPORT_RUNNING |
Activity.SUB_SPORT_INDOOR_RUNNING |
Cycling (All) |
Activity.SPORT_CYCLING |
None |
Mountain Biking |
Activity.SPORT_CYCLING |
Activity.SUB_SPORT_MOUNTAIN |
Gravel Biking |
Activity.SPORT_CYCLING |
Activity.SUB_SPORT_GRAVEL_CYCLING |
Indoor Cycling |
Activity.SPORT_CYCLING |
Activity.SUB_SPORT_INDOOR_CYCLING |
Get the SDK
This will build a filter based on FIT sport and sub-sport identifiers. If the sub-sport is not provided, the filter will include all sub-sports of the specified sport type. To make your resource files more concise, you can also use the direct FIT identifier rather than the Activity.Sport and Activity.SubSport constants, which are just the enum values of the Activity.Sport and Activity.Subsport constants.
Get the Connect IQ 8.3 SDK today and update your data fields to use the new activity filter.