Hello,
I'm pretty sure that you cannot run Connect IQ watch app while in activity, even when activity is paused? Is this correct?
And a second question - can widget/datafield apps use BLE Delegate while in activity?
Thanks,
Wojtek
Hello,
I'm pretty sure that you cannot run Connect IQ watch app while in activity, even when activity is paused? Is this correct?
And a second question - can widget/datafield apps use BLE Delegate while in activity?
Thanks,
Wojtek
You can't run a device app while in a native activity, nor can you run a CIQ widget at that time.
You can use BLE from a CIQ DF while in an activity. See the NordicThingy52CoinCollector sample in the SDK.
> nor can you run a CIQ widget at that time.
On Fenix 6x, when i'm in activity and i'll long-press back-lap button, the watch will switch to the watch face and i'm able to select and run widgets...
I was just going to say that running a CIQ widget does vary by device. If you have a CIQ DF's the watchface you see will be a native one, even if a CIQ WF is active.
So regarding only Fenix 6x, could widget use BLE Delegate while in activity? And referring to both DF and Widget - let's suppose that external BT HRM is connected and used during activity, will BLE delegate still work when another device is connected to watch via BT? What i want to do, is to monitor/configure Petzl NAO+ BT headlamp from Fenix 6x. I have a working code (CIQ App), but it's useless if i can't run it somehow while in activity.
One other thing, is if you are running a CIQ activity, and you enter the widget loop, to run a CIQ widget, you must agree to terminate the activity.
As far as running your app along with something that is paired using BLE (like a HRM), there should be no issue unless you get to the max connections, which if I recall you can see using getAvailableConnectionCount()
One other thing, is if you are running a CIQ activity, and you enter the widget loop, to run a CIQ widget, you must agree to terminate the activity.
This does not seem to be the case with current Fenix 6 software. Currently i am able to:
- Start an activity (Run for example)
- Long-press back-lap button, and get to watch face
- Enter widget loop using up/down buttons, select Weather for example
- Widget starts up without any prompts, i am able to interact with it using up/down buttons
- Then go back to watch face, press start button to go back to activity, and see that it's still running
Run isn't a CIQ activity. It's a native one. You'll see this with a device app like this one:
https://apps.garmin.com/en-US/apps/116a5b59-29ae-4397-a70e-907d7e5f8e44
Oh, ok, i understand. I think i only care for native activities to at least be able to present data gathered from headlamp (battery percent left, active lighting profile, etc..), so i can provide this data using DF app, as it can use BLE Delegate. Still, i'm curious if i could use BLE Delegate routines in a widget on Fenix 6x? Maybe i'll try to write a test widget, and see if it'll work...
I have a few widgets that use BLE and work from the widget loop during native activities.
If you're thinking about a DF, remember there's no way to do input to a DF on a watch.
I should probably leave CIQ App to do headlamp setup and advanced monitoring, and write DF to incorporate basic info into native activities.