Activity in a widget

Is there any way to get access to the Activity module in a widget?
  • See "ActivityTracker" in the SDK samples. It's a widget.

    A note about widgets and the vivoactive, is that after 10 seconds, a widget reverts to the watchface, while in the simulator, this sample just keeps going. On other devices, it will revert, but I've heard with some it's a minute.
  • ActivityTracker is a widget yes BUT is doesn't have access to the Activity module, i.e.

    Class: Toybox::Activity::Info
  • You probably won't have an activate Activity when running a CIQ widget. While you're doing a "run" for example, when you press the face to get back to the watchface (and therefore, something like the internal music control widget), it's the default watchface, even if you have a CIQ watchface.

    update: Just tried it, by starting a "walk" activity, pressing the screen to get back to the watchface, and the only available widgets are the internal ones, and non of the CIQ widgets I have loaded.