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

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -