Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
siggehandf
Old
#1  
Senior Member - OP
Thanks Meter 9
Posts: 206
Join Date: Jul 2010
Location: Hjørring
Question Change the function of the hardware keys?

Searched around alittle to see if anyone had found any means of doing this, but didn't find anything.

Anyone know if it's possible to assing the "settings" function to the browser key?

Thanks
Currently using:

Samsung Galaxy Tab 10.1 p7500 - Rooted stock 3.2 -sold
Lenovo ThinkPad Tablet - Best Android Tablet I have used!

Samsung Galaxy Nexus - Rooted Stock 4.0.3 - bugless beast.

I like stock... And root
 
obscure.detour
Old
#2  
Senior Member
Thanks Meter 29
Posts: 262
Join Date: Apr 2010
Quote:
Originally Posted by siggehandf View Post
Searched around alittle to see if anyone had found any means of doing this, but didn't find anything.

Anyone know if it's possible to assing the "settings" function to the browser key?

Thanks
Look here. It has a lot of information on it. You should be able to do with relative ease.

Cheers.
Current:
Nexus 4 | Stock 4.2 Rooted
ThinkPad Tablet | 183822U | CM10 kang

Oldie:
Nexus S | i9020t | Sold.
Nexus One | Amon_RA 2.2.1 | CM 7.2
HP TouchPad | Gone.
 
siggehandf
Old
#3  
Senior Member - OP
Thanks Meter 9
Posts: 206
Join Date: Jul 2010
Location: Hjørring
Sweet!, Worked like a charm with root explorer.
Currently using:

Samsung Galaxy Tab 10.1 p7500 - Rooted stock 3.2 -sold
Lenovo ThinkPad Tablet - Best Android Tablet I have used!

Samsung Galaxy Nexus - Rooted Stock 4.0.3 - bugless beast.

I like stock... And root
 
Dueces99
Old
#4  
Dueces99's Avatar
Senior Member
Thanks Meter 13
Posts: 145
Join Date: Mar 2011
Just stumbled on this thread and thought id give it a shot on my K1. Everything went fine, files were same name and in same location, mounted the dir. Rw then changed my hardware button (the one thats Home/Back/Menu), saved the file with a backup but no changes were made. I even changed the buttons in the other file showing only hardware buttons and then rebooted but still nothing...

Im thinking that since this mod was for the TPT and Im on a K1, theres something Im missing. Any K1 owners had any success with re-mapping the hardware buttons?

Sent From My K1
ViewSonic G-Tab (G-Harmony ICS 4.0.4 ODEXed; OCed@1.5ghz)
Lenovo IdeaPad K1 (4.1.1 CM10 JB v5 OCed@1.4ghz by krook1)
Razr MAXX XT912 (Waiting for JB to get stable, currently: Biotic Nx 1.2; OCed @ 1.325ghz)

"I know enough to know that I don't know much"
 
jjordan
Old
#5  
Junior Member
Thanks Meter 2
Posts: 14
Join Date: Jun 2006
Default may need to set permissions on file

You may need to set permissions on the file before you can save. Using "File Manager HD" I had to enable root explorer and mount systems folders under the settings and then add write permissions to Group and Others in the permissions dialog, probably don't need Others but I am lazy. Don't forget to change the permissions back after you save your changes. Incorrect permissions settings can sometimes really bork things.

Also seems that the settings might be a little different under ICS, I am getting "Touchscreen Toggled" instead of the menu after setting 150 to MENU.

-j
 
siggehandf
Old
#6  
Senior Member - OP
Thanks Meter 9
Posts: 206
Join Date: Jul 2010
Location: Hjørring
On the Lenovo boards, it has been comfirmed in the released chineese manual, that pen only mode is avaible. SoSweet!
Currently using:

Samsung Galaxy Tab 10.1 p7500 - Rooted stock 3.2 -sold
Lenovo ThinkPad Tablet - Best Android Tablet I have used!

Samsung Galaxy Nexus - Rooted Stock 4.0.3 - bugless beast.

I like stock... And root
 
jjordan
Old
#7  
Junior Member
Thanks Meter 2
Posts: 14
Join Date: Jun 2006
Default Menu's not allowed in ICS

Well, here is why remapping the browser button to MENU does not work in ICS, looks like we are no longer allowed to have a menu.

http://android-developers.blogspot.c...nu-button.html

Still playing with it but it appears that no matter what I put on the line after key 150 I just get touch-screen toggled, which is useful but not what I want.

-j

BTW doin' this on a Thinkpad Tablet

The Following User Says Thank You to jjordan For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more