I'm a newbie on this language. I am struggling on this problem detecting if the keycode_numpad_dot is clicked.
Asked
Active
Viewed 540 times
-1
-
1You might want to expand out your question a bit more. It doesn't look like you put much work into it. If you aren't willing to put work into explaining and clarifying your question, how can you expect others to put work into answer your question? – Alex K Dec 12 '14 at 03:33
1 Answers
0
For numpad dot use:
KeyEvent.VK_DECIMAL
Sample code:
public boolean onKeyDown(int keyCode, KeyEvent event)
{
if (keyCode == KeyEvent.VK_DECIMAL)
return true;
else return super.onKeyDown(keyCode, event);
}
Android Key Code:
key 83 NUMPAD_DOT

Wildroid
- 864
- 7
- 9