Cadence Tick Widget or app

Hi,
I try to make a "Cadence Tick" Widget.
The goal is to make the the watch working like a metronome to help the runner get the desired cadence.
So i started by creating a new Widget app in eclipse (inspired by the Attention sample app), then i found the Attention class that can help me to use sound or vibration.
I don't need to show anything through ui. So the app could work in background.
I would like to start the tick when user start a running activity. But i don't know how to catch this event.
I also need to let the user choose tick time eg. 180 or 170bpm and optional choose the tone id or vibration.
Which kind of app i should make? App or widget?
Is there a start activity event? Or is it possible to start the app, then start the activity?

Thanks for your help
  • There is no way to run something in background. If you want this to run with something like the standard running app, it would have to be a data field.....

    Starting with 2.1.0 the SDK you can use the Attention module from a DF. (this was not allowed with earlier SDKs, so you'd have to use the 2.1.0 SDK)

    I'm not sure if the watch must have the FW with the 1.3.0 or 2.1.0 for it to work. I've never tried this.

    As far as configuration, you can use app-settings. (configure from GCM or GE) And in a DF, there are ways to tell if the recording is running or paused.