KeyCode Display for Developer
KeyCodeDisp
Android Application
KeyEvent.java
KeyEvent Code Display
for debug program
No Ads, Free
Copyright (c)2012 FREE WINGhttp://www.neko.ne.jp/~freewing/-- Source code
import android.view.KeyEvent
public static int getMaxKeyCode()
Returns the maximum keycode.
android.view.KeyEvent.getMaxKeyCode()
@Override
public boolean dispatchKeyEvent(KeyEvent event)
{
if (event.getAction() == KeyEvent.ACTION_DOWN)
{
String.format("%3d,%04X,%06X,%05d,'%s'\n",
event.getKeyCode(),
(event.getFlags() & 0xFFFF),
(event.getMetaState() & 0xFFFFFF),
(event.getEventTime() % 100000),
keyCodeToString(event.getKeyCode()));
}
}
https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.KeyCodeDisp