1] My app implements onSwipe[] , BUT it returns false for right and left swipe. Still, I could not find a way to dismiss a menu on the Vivoactive 3 simulator [which I can do with the back key for the other devices].
Am I missing something or did I find a bug?
My code is basically:
var aMenu = new Ui.Menu[]; aMenu.addItem["aMenuItem", :menuItem]; Ui.pushView[aMenu, new aMenuDelegate[], Ui.SLIDE_IMMEDIATE];
I do not think my "menu delegate" really plays a role here, especially when the same code works for all other devices. But, ok, maybe it's just a simulator issue.
Now... something more important:
2] "Hold on" the screen is now Menu? Right swipe is now Back? Then you shouldn't say that apps for Approach S60 and Vivoactive 3 are easily and automatically portable.
I have apps for which onHold and onMenu [or onKey, then key == KEY_MENU] had completely different implementations. Same for swipe right and key == KEY_BACK.
If I can't use onHold and onMenu as separate behaviours for the Vivoactive 3 [or any other touchscreen device], a lot has to be changed. And if this is the case, Garmin shouldn't consider the Approach S60 and the Vivoactive 3 as fully compatible devices. I ported my apps for the Approach and they were automatically made available for the Vivoactive 3, but now I'm afraid they'd just "malfunction" on the Vivoactive 3 [I do not have it to test - yet].
I get the feeling that I'm not the only dev that uses the onKey strategy instead of onBack, onMenu, etc.
So, would it be possible to let onKey with KEY_MENU and KEY_ESC to be triggered by onHold and right swipe on the Vivoactive 3?
Here comes my problem too... I prevent the app from exiting while recording a session by not letting the [ evt.getKey[] == KEY_ESC ] event returning a true. The onBack() isn't possible here (in my understanding).