Widget: onNextPage not triggered on start page since firmware 5.40 on FR 235

Hi all,

I have developed a widget (GarminFhem) for the Forerunners 230/235/735XT. The widget consists of multiple pages and I am using the "page down" button to navigate to the next page.

On the start view of the widget, which as I know is treated a bit special with regards to navigation, the onNextPage event of my input delegate class should be triggered by pressing long on the button (I know and it is ok that pressing it just for a short time navigates to the next widget instead).

Now I have tested this behavior successfully on the following combinations:
  • Forerunner 235, Firmware 5.20
  • Forerunner 735XT, Firmware 3.20 till 4.30


Now since Firmware 5.30 on the Forerunner 235, pressing long on the next page button does NO LONGER trigger the onNextPage event handler but it opens the next widget.

Is this a bug or a new behavior that I have to live with?

Thanks & regards,
Florian
  • I believe that this is the expected behavior. The only methods that should be called on your initial BehaviorDelegate are onSelect(), onBack(), and onMenu() (or the equivalent key presses for an InputDelegate). All other inputs should not get passed through.

    Once you've pushed a second delegate, you can expect the onNextPage() and onPreviousPage() methods to get called as appropriate.
  • Hi all,

    ok, I understand that pressing the next button for a long time was never a supported event.

    Anyway, my widget would require two different events:
    • One for executing a specific action -> Currently, I use the "Play"/Select button
    • Another one for navigating to a different view -> here, I have used "pressing next for a long time", now I don't know how to trigger this second action.


    Does anyone know how I can trigger a second action in addition to the select button on a widget's first view on the Forerunner 235?

    Thanks,
    Florian