Widgets and escaping from glance behaviour: I'm missing something basic!

Hi,

Coding a pretty simple widget with a behaviour delegate.

On the simulator, I can go into the widget from glance and then use up / down to go nextPage / prevPage.

But...

On the device, specifically my 735xt which has no glance and my 6x Sapphire that I turned off glances for (because my eyes are middle-aged...) the up / down arrow simply moves to next widget - which I guess is required as otherwise it would be impossible. 

How am I supposed to get control without loss of the ability to move between widgets? Do I just need to push another view or something?

Confused of Dublin

  • On devices without glances or where glances are turned off, if you want to use up/down you need to push a second view and have it's delegate handle up/down, but then you need to pop the second view in order to exit.

    You can check for glances with System.getDeviceSettings().isGlanceModeEnabled

    if you want to handle being started from a glance or not.