android - How to map the touch screen event to virtual key event(eg: back, home, menu)? -


Environment: Android platform; Perhaps you know that the command of "getevent" can output events from "/ dev / input / eventX" Some devices have virtual keys such as backs, menus, home etc., and these keys are also applied through the touch screen. So how do I map the touch screen event to the right key event in the virtual key area (back-> Back, Home-> Home, Menu-> Menu etc.)

back: override @ backed (public) at zero { // content} / html>

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -