Can someone make a flashable zip so i can have a designated camera button as search? I want to be able to click it to take a snap shot of my phone with dro cap.
Thanks
Here ya go.
Can someone make a flashable zip so i can have a designated camera button as search? I want to be able to click it to take a snap shot of my phone with dro cap.
Thanks
Thanks man. Sorry my phone hates me and i couldn't do it my self. But seriously thanks!
Is there anyway to turn the search key into like a mute button for when the phone goes off? Ideally I was looking to see if I can use it to acknowledge and mute my alert from text messages.
hmm, i followed the directions exactly and everything seemed to work.. but the keys still do the same thing. do i need to reboot to have the changes take effect?
ya, trust me I know what I'm doing.
It just doesn't work
I would love to show you a logcat... but i cant adb remount LOL
I changed the search key to open up the camera but it still opens up the universal search program. I followed the directions as written and rebooted the phone. Any ideas?
It should work. Copy and paste your edit with "CODE" tags so I can see what you did.
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 127 CAMERA
key 231 CALL
key 107 ENDCALL WAKE_DROPPED
key 191 DPAD_CENTER
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
PHP:key 102 HOME key 139 MENU WAKE_DROPPED key 158 BACK key 127 CAMERA key 231 CALL key 107 ENDCALL WAKE_DROPPED key 191 DPAD_CENTER key 115 VOLUME_UP WAKE key 114 VOLUME_DOWN WAKE
adb remount
adb push heroc-keypad.kl /system/usr/keylayout/heroc-keypad.kl
The first time, I just copied the file via USB and then used root explorer to paste it back into the original system folder it was in and overwrite the original. I used the cmd prompt this time to push it through, rebooted, and it works fine. I'm happy but still curious why it didn't work the other way Thanks though. I always wanted a dedicated camera button. Looking forward to any other tricks you got
adb remount
adb pull system/usr/keylayout/heroc-keypad.kl heroc-keypad.kl
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 127 SEARCH
key 231 CALL
key 107 ENDCALL WAKE_DROPPED
key 191 DPAD_CENTER
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
HOME #Launches "Home"
MENU #Launches "Menu"
BACK #Takes you back to the last activity
SEARCH #Launches "Universal Search"
CALL #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL #Ends a call
CAMERA #Launches "Camera" activity and corresponding .apk
FOCUS #Initiates Auto-Focus while using the Camera
VOLUME_UP #Self explanatory
VOLUME_DOWN #^
WAKE #Completes the action without waking the screen
WAKE_DROPPED #Wakes the phone to complete the action
key 231 CAMERA
key 127 FOCUS
adb remount
adb push heroc-keypad.kl /system/usr/keylayout
--------------------------------------------------------------------
key 200 MEDIA_PLAY_PAUSE #Pauses Music
key 201 MEDIA_PLAY_PAUSE #^
key 166 MEDIA_STOP #Stops the media
key 163 MEDIA_NEXT #Plays next media
key 165 MEDIA_PREVIOUS #Plays previous media
key 168 MEDIA_REWIND #Rewinds the media
key 208 MEDIA_FAST_FORWARD #Fast Forwards the media
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 127 MEDIA_PLAY_PAUSE WAKE
key 231 CALL
key 107 ENDCALL WAKE_DROPPED
key 191 DPAD_CENTER
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
am start -a android.intent.action.MAIN -n com.android.browser/.BrowserActivity
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.browser/.BrowserActivity }
#example
service <activity> /path/to/yourservice
oneshot
disabled
keycodes 107 127
service screenshot /system/bin/scrnsht
oneshot
disabled
keycodes 217
#! /system/bin/sh
am start -a android.intent.action.SCREENSHOT -n com.cyanogenmod.screenshot/.ScreenshotActivity