Total: 67327 apps , New today: 0 , Updated today: 0 Sign in with a Google Account


Home  »  Tools  »  KeyEvent Display

KeyEvent Display image

KeyEvent Display - FREE

by alt236, Version: 0.0.4 , 53 KB  

Package name: aws.apps.keyeventdisplay , Last Update: 2012-03-13 01:23:01


20 ratings (4.400 average)

1,000-5,000 downloads


What's new in this version (0.0.4):

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.

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.

Last comments from Android Market

alt236 (*****)
@Kathleen, The application exits when you press the home button on the device. If that doesn't happen to you email me and I'll try to fix it.

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

Zach (*****)
Works exactly as described, thanks!

Dan (***)
Not bad, but I agree with Kathleen. Needs an exit button--not just press HOME, leaving the app running in the background, as suggested to her.

KeyEvent Display screenshot 1 KeyEvent Display screenshot 2

Apps from the same developer

Android Resource Viewer This application will list all public and private Android resources (i.e. resources located under android ...
Network Port Database This application contains a database of the network Ports as they are assigned by IANA. With this application you ...
USB VEN/DEV Database This application is a database of USB Vendor/Device IDs (VEN/DEV), or as they are sometimes cal ...

Related Android Apps

Movapic Previewer A picture previewer for several image services and image url. This app can also view in full-screen and rotate ...
App Name Editor To anyone who wants to change your applications name in your home screen. This app is the best solution to change ...
RAMDroid (Donate) Help support the free and open-source RAMDroid project by buying this app. Note: you will still need to ...
Secret Phonebook Are you worried with your unsecured contacts? SecretPhonebook meets your needs!
Track your plan AT&T pack This is not a standalone app! This pack provides AT&T tariffs and plans to "Track your plan" which must be alr ...


Find more Android apps and games

Androlicious.com is a website that shows applications and games from Android Market. You can download and install apps and games directly from Android Market using an Android phone or by using WebConnect mobile application.