Do not use the capacitive buttons when touching the screen.

I'm having trouble coding my Evo. Touching the screen, Evo interprets me touching the buttons as another pressing on the screen instead of onKeyDown, onBackPressed, etc. (It actually sets the MotionEvent pointer count to 2, and I can get the coordinates that I touch the main screen, for example, 830 * 190 when I touch the back button.)

Encode the encoding at the button locations (which will be different for each phone with capacitive buttons if they all have the same problem), is there a way around this? Does anyone else have this problem with another capacitive push button device?

+5
source share
1 answer

On the Evo, in an area where the buttons use the same capacitive touch sensor as the screen. You can verify this by loading a webpage and scrolling until your finger appears in the button area. Instead of clicking on these buttons, you just keep moving around the web page, because as for the phone, you are still touching the “screen”.

0
source

All Articles