Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
zoftdev
Old
(Last edited by zoftdev; 11th June 2011 at 05:57 PM.)
#1  
Senior Member - OP
Thanks Meter 9
Posts: 160
Join Date: Sep 2009
Default Change search button -> Call / Camera button

If you want to replace search button with another action
just go to /system/usr/keylayout/at42qt602240_Touchscreen.kl
(Root required!)

change
KEY 217 SEARCH WAKE_DROPPED
to
KEY 217 CALL WAKE_DROPPED
or
KEY 217 CAMERA WAKE_DROPPED * Camera not work, when long press ,camera will start but automatic take a picture 1 time.


Have a good day!
The Following User Says Thank You to zoftdev For This Useful Post: [ Click to Expand ]
 
k0sh
Old
#2  
k0sh's Avatar
Senior Member
Thanks Meter 425
Posts: 2,283
Join Date: Mar 2011
Location: Galaxy World

 
DONATE TO ME
thanks buddy for the good hint , but i doubt this is the correct section to post ur thread .. thanks
Phone : Galaxy Note
Rom : Stock ICS, Rooted and has CWM
--------------------------------

Tablet : Galaxy Tab
Rom: Overcome + Overcome Kernel
--------------------------------

Tablet : Galaxy Tab plus
Rom : Stock ICS, Rooted and has CWM
--------------------------------

Tablet : Galaxy Tab 10.1
Rom : Overcome + Overcome Kernel
--------------------------------


My new App :- StyleMe
 
nobleskill
Old
#3  
Senior Member
Thanks Meter 85
Posts: 482
Join Date: Feb 2011
Quote:
Originally Posted by k0sh View Post
thanks buddy for the good hint , but i doubt this is the correct section to post ur thread .. thanks
Yup. Also there is the button remaper apk in here somewhere I think. Its a good tip though. Galaxy tab general maybe or apps and themes.

Sent from my GT-P1000
 
speldenaar
Old
(Last edited by speldenaar; 11th June 2011 at 08:42 PM.)
#4  
speldenaar's Avatar
Member
Thanks Meter 21
Posts: 66
Join Date: Feb 2011
Quote:
Originally Posted by zoftdev View Post
If you want to replace search button with another action
just go to /system/usr/keylayout/at42qt602240_Touchscreen.kl
(Root required!)

change
KEY 217 SEARCH WAKE_DROPPED
to
KEY 217 CALL WAKE_DROPPED
or
KEY 217 CAMERA WAKE_DROPPED * Camera not work, when long press ,camera will start but automatic take a picture 1 time.


Have a good day!
Perhaps wrong section, but i'd asked in q&a but no answers..
So, HOW do i change that file??

Edit: open file in texteditor with root explor er. Got it!



Sent from my GT-P1000 using XDA App
 
chriskader
Old
#5  
Senior Member
Thanks Meter 20
Posts: 167
Join Date: Nov 2009
Location: Malvern

 
DONATE TO ME
How is this the wrong section? The Guy is posting code to remap buttons. This can be used in ROM DEVELOPMENT. People on xda really shock me sometimes.....

Sent from my ThunderBolt using XDA Premium App
Device: HTC Thunderbolt (Verizon)
ROM: CM7 Pre-Alpha Release
Device: Samsung Galaxy Tab (7.1, Verizon)
ROM: Spacemoose HC Alpha 2.5

 
TheATHEiST
Old
#6  
TheATHEiST's Avatar
Senior Member
Thanks Meter 777
Posts: 3,805
Join Date: Sep 2008
Location: Hull
Quote:
Originally Posted by chriskader View Post
How is this the wrong section? The Guy is posting code to remap buttons. This can be used in ROM DEVELOPMENT. People on xda really shock me sometimes.....

Sent from my ThunderBolt using XDA Premium App

Indeed, this is a development topic.

k0sh been smoking some class A.
Phone:
SGS2 I9100: CM10.1 Nightly

Tablet
Nexus 7: CM 10.1

Smartphone History:
HTC Touch > HTC Universal > HTC Touch HD > HTC HD2 > iPhone 4S > Samsung Galaxy S2/iPhone 4S

Tablet History:
Galaxy Tab 7.0 > iPad3 > Nexus 7

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more