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