Hello,
I'm simulate the sample "MenuTest", but there is one problem. If I press the menu button nothing happend. I'm simulate the fenix 5
Only the exit button works...
Can anybody help me?
Hello,
I'm simulate the sample "MenuTest", but there is one problem. If I press the menu button nothing happend. I'm simulate the fenix 5
Only the exit button works...
Can anybody help me?
What SDK are you using, and have you updated your devices recently?
I'm download the actual SDK. I tried the onNextPage()
and onPreviousPage()
That work. But not the onMenu()
Did you use the sdk manager to download the SDK and devices? The latest SDK is 3.2.3.
Or are you still using 3.1.9?
Yes I use the sdk manager and I've SDK version 3.2.3
What device are you simulating and what are you using as "menu"?
I use the simulator in eclipse and simulate the fenix 5.
Here is an part of my code:
function onMenu() { WatchUi.pushView(new Rez.Menus.Setting(), new TicTacToeMenuDelegate(), WatchUi.SLIDE_UP); }
<menu id="Setting"> <menu-item id="item_1" label="@Strings.menu_label_1" /> <menu-item id="item_2" label="@Strings.menu_label_2" /> </menu>
But also with the samples it does not work for me
So a long press up doesn't call your onMenu? Works for me in device apps with an f5 target.
put a println in your onMenu() function just to check it's getting there. Maybe in initialize() for that delegate too , to make sure the input delegate is being set up.
Oh, it works after a restart. Many thanks for the help.
Do all watches even have a menu button equivalent?
Using the sample projects, I have never found a way to get onMenu to fire for a 735xt, for example.
Yes. That's one of the standard things.
On the va/va-hr is was one of the buttons,va3, screen tap,va4/venu/vensq, again by way of a button, non touch, it's long press of up, a button or button bar on edge and hand helds..
on the 735, it's long press of up.