Hi - two quickies.
1. Can I use addLap() from a Widget to inject a programmable auto-lap into an activity? I want a TIME based auto-lap, not distance or location based. So my crew can calibrate calorie and hydration needs during LONG crewed endurance races.
2. I want a full screen of lap metrics once the time-based (1 hour) lap triggers. But I don't want to have that screen up all the time. If I code this as a Widget, can that code run in the background and when the 1 hour timer expires, it switches to it's view with all the lap metrics? Or, is a Widget like a Data Field, and the code only runs when the Widget is displayed?
The basic idea is to run code in the background to trigger once every "n" minutes, and then auto-display an entire screen full of information, switching from the primary display of data fields.
Thanks for any tips.