I can't catch this 2 events:
onNextMode()
onPreviousMode().
What should I do (press/tap) to force system to call this functions?
I can't catch this 2 events:
onNextMode()
onPreviousMode().
What should I do (press/tap) to force system to call this functions?
Not all devices support all the possible options. I can't think of any that generate these two - maybe the GPSMap devices.
See https://developer.garmin.com/connect-iq/reference-guides/devices-reference/#devicereference
The input sample in the SDK looks for onNextMode and onPreviousMode, but I can't think of a device that has them.
onNextPage/onPreviustPage are the up/down buttons and/or swipes. I use then to handle up/down on touch or button devices in a single function.