hi,
Is there something basic that means my app cycles through views in the IQ simulator but when installed on watch loads intial view but menu button push does not move it to next view. (button on watch is unresponsive).
Thanks,
B4Wind
hi,
Is there something basic that means my app cycles through views in the IQ simulator but when installed on watch loads intial view but menu button push does not move it to next view. (button on watch is unresponsive).
Thanks,
B4Wind
Solved; not entirley understood. Changed from onMenu() to onSelect(). Only using onMenu() for MenuInputDelegate. I imagine some devices have a menu key?
What device are you simulating? What type of app?
It sounds like you are implementing a Widget. You can confirm this by opening the manifest.xml in eclipse. The manifest editor will show the App Type is Widget.
The reason for this is covered in the documentation here https://developer.garmin.com/connect-iq/connect-iq-basics/widgets/
Since they are used for widget navigation, the InputHandler
will never receive either the up/down button or up/down swipe events when the base view is shown. Any views pushed on top of the base view using WatchUi.pushView
will not have these input restrictions.
Some devices support what we call glance views. You should probably take a peek at the documentation to be sure that you're handling glances correctly as well.
If you intend to implement a widget, then it is helpful to be aware of these behaviors. If you don't want to do a widget, just change your app type in the manifest editor.