Download KeyEvent Display apk 0.0.4 free for Android smartphone

21 Feb
KeyEvent Display

Posted by Alexandros Schillings in Tools | Feb. 21, 2012 | 13 Comments

Apk file size: 53.0 KB

Once, I was playing with a number of Chinese tablets and trying different ROMs on them as they are technically the same hardware (HSG X5A variants).

I've had some problems getting the hard buttons to work though, so I wrote this application to detect key events and print them out. It will print out the following:

KeyEvents: The KeyEvents as Android understands them (KeyUp, KeyDown, KeyLongPress, KeyMultiple)

LogCat: Any relevant messages in logcat. Its filtered based on keywords declared in arrays.xml

Kernel: Any relevant messages in the kernel log. Its filtered based on keywords declared in arrays.xml. Kernel log parsing needs root.

The three checkboxes at the top control what information will be displayed.

This is a personal debug tool, but I hope it will be of some use to someone else.

No Ads.

Notes
--------------
While the application is running, the only "hard" keys which should work is "Home" and power. All others will produce their keycodes.

The SU request is to read the kernel log, so I can check if any keyevents are thrown by the kernel.

The location of keylayout files in Android is /system/usr/keylayout.

Kernel log parsing needs root

Both logcat and kernel log monitoring will only display lines containing words from two arrays in arrays.xml (i.e. you need to recompile the app to change them at the moment)

Currently the filters are:

Logcat:
|-HwGPIOE->GPDA
|-keycode
|-keycharacter

Kernel:
|-HwGPIOE->GPDA
|-keycode
|-keycharacter

Permissions
--------------
READ_LOGS: Used to access the Logcat log.
WRITE_EXTERNAL_STORAGE: Used to write the exported data to the SD card.

Whats new

    v0.0.1 First public release.
    v0.0.2 Improved stability, added Exit button.
    v0.0.3 Code updates.
    v0.0.4 Changed drawables, added sharing, added more info in export text.

Alexandros Schillings part of our Tools and have average installs from 10000 to 50000. Last Update Feb. 21, 2012. Google play rating is 91.0476. Current verison is 0.0.4. Actual size 53.0 KB.

Download keyevent-display.apk 53.0 KB

13 Comments

vivalos nachos

very simple yet useful nice app easy for me to understand and use

Adam W

Holy Crap Has anyone ever told you that you are a genius??? Every program you write is pure gold. PURE GOLD!!

Ardi Ferdiansyah

Great Very usefull for remaping

A Google User

Not bad! Author responded quickly to review comments and emails, too!

A Google User

would be great if it worked witm softvare keyboards, good app anyways.

A Google User

Does exactly what it needs to do.

A Google User

Please add an exit/disable key capture button. Your app should never capture key events without a way to interrupt.

A Google User

Works exactly as described, thanks!

A Google User

José A. "080812...try out...thanks..."

Tim Turner

Nice Fantastic work, glad to have found such a inconspicuous application.

Mac Mx

Perfect Really awesome, does exactly what it should and gives insight as needed!

Daan Muller

Epic and useful!

Eduardo XM

Oh thank you so much! You have saved me loads of time.

Leave A Comment