Business idea : u could make an app with options. I am sure this will sell well
I will buy it.Business idea : u could make an app with options. I am sure this will sell well
pgdn has a few things hard coded. The first thing I'd try for another system is /dev/input/event1. Use evtest to find which input device actually corresponds to the hardware keys on your system. At the same time you can also check if the key codes are the same.
event /dev/input/event1
how exactly do we run it... do i go to the file in root explorer and cliclk on the file or do something else...Now run the daemon (as root).
If you are aware of the Linux way of "services" you can add a file to /system/etc/init.d/how exactly do we run it... do i go to the file in root explorer and cliclk on the file or do something else...
i have the pgdn4 placed in /data
hahaha... this did happen to me as i could not wake it up using any key combo so i had to restart the phone and immediately i changed the key file by removing the # that i had put to remove those wake commands...If you did not understand what is happening here then DO NOT DO IT. The reboot will help in two things, making your /system read only once again and making sure it worked, I had to spend one hour with a phone with a disabled power and home key while not in front of a computer to fix it. So I can tell you its pretty bad to lose any way of waking your phone![]()
and i dont know a thing about linux but will sure try these commands in terminal...if not, then you can do something like (adb or terminal):
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# echo "/data/pgdn" >> /system/etc/init.d/99complete
# reboot
hey!! i used this MODThe latest version has a configuration file: /sdcard/.pgdn .
With configuration file http://my.svgalib.org/android/config.pgdn and with /system/usr/keylayout/sec_key.kl containing:
key 115 VOLUME_UP WAKE
#key 114 VOLUME_DOWN WAKE
#key 102 HOME WAKE
key 107 ENDCALL
key 105 DPAD_LEFT
key 106 DPAD_RIGHT
key 103 DPAD_UP
key 108 DPAD_DOWN
key 232 DPAD_CENTER
#key 116 POWER WAKE
key 212 CAMERA WAKE
The power key works as shutter key in camera application and as the usual power key when not in camera application.
Re-use of buttons would be an EXCELLENT addition to Android devices, now that they seem to lack hardware buttons a lot. Perhaps for this app, the Windows Mobile-based AE Button Plus could function as a reference in terms of features (distinguish up to 4 different keypress events on each button grabbed: single, double, triple and "long" keypresses, perhaps make context-sensitive actions ('active' application) possible, etc.)Business idea : u could make an app with options. I am sure this will sell well