Cannot catch UP/DOWN button events on the Forerunner 735XT

I cannot catch the UP/DOWN button events on the FR735XT.  In the simulator both buttons exit the app.  I tried the OnKey(), OnPreviousPage(), OnNextPage, OnPreviousMode(), and OnNextMode() events, and none of them are called.  Is there a solution?

  • It works for me in the simulator in both fr920xt and fr935, so probably the bug is in your code. Have you tried the Input sample?

  • If it's a widget, that's because the initial / main / top-level view of a classic, full-screen widget cannot accept any input other than the START button (or a tap, for old touch devices that support full-screen widgets).

    Hopefully the reason for this should be clear when you consider that the user expects to be able to scroll through all the full-screen widgets (and the watchface) using the UP / DOWN buttons. If full-screen widgets were able to intercept UP/DOWN, then that could prevent users from scrolling through the widgets normally.

    If your app is in fact a widget, the solution is to accept the START button as input, push a secondary view, then allow the secondary view to scroll with UP/DOWN buttons.

    From the user's perspective, it means they have to "open" the widget by pressing START before they can scroll to other screens within the widget, which is normal behaviour for all full screen widgets (including built-in widgets).

    For further context (mostly for others reading this thread):

    - All CIQ 2 and lower devices only support full-screen widgets and not glances

    - CIQ 3 devices support either full-screen widgets or glances, based on user settings (which means your widget app would have to support both modes, if it targets CIQ 3 or lower devices)

    - CIQ 4+ devices (all modern devices) only support glances, and not full-screen widgets. Furthermore, any app with the type "widget" in the manifest is actually compiled as a device app. If you want your device app to have a glance, you have to implement getGlanceView(). (A default glance view will not be provided, as it would be for widgets on CIQ 3 devices)