I did it recently. I expanded MainScreento provide some basic functions, but did not want to use context menus. Returning truefrom n avigationClick()removes this behavior.
public class MyScreen extends MainScreen {
protected boolean navigationClick(int status, int time) {
return true;
}
}
I did not have to redefine navigationUnclick()at all. Unlike the @JustinD override approach onMenu(), this only prevents the menu from this specific case - not across the screen (which you might need, and this would probably be the best way to do this).
In any case, it has been my experience with clicks and menus lately.
source
share