Use this application to check/debug the keycodes of physical device buttons.
About KeyEvent Display
KeyEvent Display is a tools app developed by Alexandros Schillings.
How many times has KeyEvent Display been downloaded?
KeyEvent Display has been downloaded 36 thousand times. In the last 30 days, the app was downloaded 18 times.
What is the rating of KeyEvent Display?
KeyEvent Display is rated 4.10 out of 5 stars, based on 160 ratings.
Is KeyEvent Display free?
KeyEvent Display is free to download. The APK download size is 1.83 MB. The latest version available is 1.0.26. The last update was on July 5, 2020.
What are the requirements for KeyEvent Display?
KeyEvent Display requires Android 1.6+ or higher. The app has a content rating of Everyone. The app has been available on Google Play December 2010.
Description
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.
This application is open source. The code can be found here: https://github.com/alt236/KeyEvent-Display---Android
Recent changes: * v1.0.0: Redesign, added Android TV support.
Get a detailed PDF report for KeyEvent Display with download trends, rating history,
and key performance statistics — useful for competitive research or tracking your own app.
Learn more
Are you the developer of this app? Join us for free to see more information about your app and learn how we can help you promote and earn money with your app.
Each subscription will automatically renew 3 days before the expiration date for
the same time period. Subscriptions can be cancelled at any time before the renewal.