Vivoactive 4 input delegates

Hi fellow devs,

I have written a widget which works fine on an array of devices (Fenix 6,7 + variants, Forerunner, Venu2) and I am now trying to port it onto the Vivoactive 4 but for some reason the onSwipe and onKey don't appear to be registering anything (as in not called at all).  onTap works fine and I can use that to replace some of the interface and onDrag works too (but seems to exit if I do anythingother than swipe left.

Apologies if this is a really noddy question....all help grateful received!

Ta

  • The first thing you seem to be running into is devices with and without glances. For those with glances, up/down move you through the glance loop, and from there you open the widget in full screen.  The va4 doesn't have glances, so from the watch face, you move right to the full screen widget.  on the va4, the top level view handles the up/down/back to move to the different widgets or return to the Watch face, so what you can do in the delegate has restrictions you don't have on devices with glances.  .

    on the va4, swiping up or down moves though the widget loop, and a right swipe is like pressing the back button  There is an input sample in the SDK.  Tkae that and change the app type from watch-app to widget (in the manifest.xml) amd you can see how the va4 works in the sim.