Camera Button action hardset - Android Q&A, Help & Troubleshooting

Not sure where else to stick this so forgive me if it's int he wrong place.
I have a Droid a855 (Froyo 2.2.1) that is rooted and running Cyanogen.
A few years ago I wanted to change which app came up with the camera button, there was no easy way to do this at the time but I recall I found a link explaining how to edit a file (I was rooted) and change the app that came up when the camera button was pressed.
Fast forward to today and I want to change this app to a different app, but all the ways of setting an app relation to the intent action of the camera button fail. Nothing overrides the app I "hard set" to the button.
So how is it possible to specify the action of a hardware button that cannot be overridden with an intent? (As well as I can put it, i'm not a programmer) Since this is what I seem to have done, but i'm not even sure what too Google for in trying to find how to undo what I did.
Thanks

*grovel*

Lasivian said:
*grovel*
Click to expand...
Click to collapse
Anyone? Thanks

Still looking for a solution if anyone has one. Thanks.

Help? please?

Related

Disable hardware buttons?

Is there a way to disable the hardware buttons (home, search, back, menu) on the gtab? I find myself hitting them when I don't want to.
Sent from my DROIDX using XDA App
Button remapper app.
In fact, here it is.
Thanks for the link, goodintentions. It installed and opens up great.
Unfortunately, I can't seem to figure out how to use this app to actually disable the hardware buttons on the Gtab. I'm running Vegan b5.1 (with supplement) and Clymsyn's kernel v6.
I've tried setting their state to 'none' and that didn't work... also tried searching the 'action' dropdown for a 'disable' or 'none' entry, but couldn't find one.
Any guidance would be appreciated, thanks.
You dont need to change the states, only the actions. Set it to Focus for all the home/search/back/menu you see. If you mess something up, it should allow you to restore the keys after you reboot
TyIsOwned said:
You dont need to change the states, only the actions. Set it to Focus for all the home/search/back/menu you see. If you mess something up, it should allow you to restore the keys after you reboot
Click to expand...
Click to collapse
This worked! Thank you very much.
Gregsterman said:
This worked! Thank you very much.
Click to expand...
Click to collapse
Button remapper works great when pared with button Savior. It gives you a placable tab that when touched brings up back, home, menu and search buttons. Really handy.
Oh and I remapped my gtabs buttons to be a dpad. It really helps when selecting links online.
Disable hardware buttons
Hi all, I downloaded the app, installed and set buttons to focus.
No joy, none at all.
Using Honeycomb, could this be the issue?
Or, does anyone know any other solution?
TyIsOwned said:
You dont need to change the states, only the actions. Set it to Focus for all the home/search/back/menu you see. If you mess something up, it should allow you to restore the keys after you reboot
Click to expand...
Click to collapse
That worked pretty good. Them buttons were driving me nuts would always hit them when i didnt want to.
chubb16 said:
That worked pretty good. Them buttons were driving me nuts would always hit them when i didnt want to.
Click to expand...
Click to collapse
can you tell me which file should I edit to do this?
How do I set a button mapping to "None"? My "back" button is faulty, i want to turn it off completely. Is there a way?

[Q] How to make search key back button?

So i am rooted on 2.3.5 running eclipse 2.2 and my back button is broken i have been using the root app Button Savior but i would like a hard key instead of an on-screen back button. Is there any way i could make the search button (hard button) the back button ? Any help is appreciated
Im not sure for eclipse but with cm7 Its one of the options in the menu no app needed
Sent from my DROID X2 using XDA
And if not on CM7, there is a file you can edit that allows you to changes the button functions. I forget what file. Theres a thread in here somewhere talking about how to make the search button into the camera button. The file can be changed to do the same for your problem. I'll see if I can find it.
EDIT: Here's the thread:
http://forum.xda-developers.com/showthread.php?t=1403013&highlight=camera
In the third post I think, there is directions on what file was edited for that. Looking at the file myself, I would think you could replace "key 217" (the search key) with the info from "key 158" (the back key). So the line would read:
key 217 BACK WAKE_DROPPED
You could probably have two lines say the same. They would both just have the same function which doesnt matter since your back button doesnt work anyway. But before you do this, do a backup of the file, and your ROM if you'd like. I would feel safe doing this to my own phone but not everyone is so backup what you'd like.
Unless you are using CM7, then just go the easy built in option it provides.
jsgraphicart said:
EDIT: Here's the thread:
http://forum.xda-developers.com/showthread.php?t=1403013&highlight=camera
In the third post I think, there is directions on what file was edited for that. Looking at the file myself, I would think you could replace "key 217" (the search key) with the info from "key 158" (the back key). So the line would read:
key 217 BACK WAKE_DROPPED
You could probably have two lines say the same. They would both just have the same function which doesnt matter since your back button doesnt work anyway. But before you do this, do a backup of the file, and your ROM if you'd like. I would feel safe doing this to my own phone but not everyone is so backup what you'd like.
Unless you are using CM7, then just go the easy built in option it provides.
Click to expand...
Click to collapse
Thanks for your reply, and is this permanent ? if it is thanks because that's what i'm looking for
EDIT: I just flashed cm7 and i am now looking for the option you spoke of could you specify more clearly as to where it is? Thanks
it is permanent, until you sbf or flash new rom
Sent from my DROID X2 using xda premium
If the method provided is giving you trouble, try this one
http://forum.xda-developers.com/showthread.php?t=850464
Come over to the dark side...
optimusprimeuya said:
Thanks for your reply, and is this permanent ? if it is thanks because that's what i'm looking for
EDIT: I just flashed cm7 and i am now looking for the option you spoke of could you specify more clearly as to where it is? Thanks
Click to expand...
Click to collapse
Like what was said, it is permanent until you sbf or flash a new rom or replace the file with the backup you should make. I looked at the options in CM7 and I cant find anything that remaps the buttons to anything other than an app, shortcut, etc. I've never used CM7 settings to change a hard button to another hard button. I just assumed since that was what was said. So someone else would have to help you out on that if its possible.
The other app that thelowend linked too seems to look pretty good though. You may want to try that first and then go into changing files manually if it doesnt end up helping you.
thelowend said:
If the method provided is giving you trouble, try this one
http://forum.xda-developers.com/showthread.php?t=850464
Come over to the dark side...
Click to expand...
Click to collapse
I've tried the button remapper app, couldn't get it to work on DX2, worked fine on my D2G though

[Q] Archos Gamepad suddenly has button mapping problems!

Hi, well I've searched google and this forum i cant find any fixes. Thanks in advance for your help. Hope this also helps someone out with the same problem.
Archos gamepad suddenly has button mapping issues and i dont know how to fix it.
Problem: the following buttons all map to the same value "button x". So their actual button's proper value isnt being read. So what i mean is, if i use any emulator or app (even the archos mapping tool) and if i try to map any of these following buttons, they all map to the same value. List of buttons that are giving me this problem :
Up, left, start, X, A.
So its incredibly frustrating if im in an emulator and want to map button Up to Up in the app. Because instead it thinks ive pushed the X button. The analogs still work, but this is crazy i cant figure out whats wrong.
Problem exists in the homescreen also!
Things ive tried to fix this:
Reinstalling the latest firmware
Restoring back to factory defaults
Does anyone have any advice ?
I Swear I've had it with this archos gamepad. First i thought the ghost screen touches were annoying, now this has started to happen. Just dont buy one, i dont recommend!
Update the mapping tool from google play
sent from my UNLOCKED gt-s5360 using the XDA app
some progress!
yousef8824 said:
Update the mapping tool from google play
sent from my UNLOCKED gt-s5360 using the XDA app
Click to expand...
Click to collapse
Hello yousef, im afraid this is not the problem. it cannot be resolved with app updates, it looks like i need to hack the device.
Ive even disabled all mapping tools and still it behaves like this.
Right now i found that if i hold down the X button, the device behaves properly and reads the buttons correctly!! What madness is this, the only way i can use the device properly is to hold down the x button?? I may have to glue it down or something? it even solves the ghost screen touching!
i have resorted to this ghetto fix for now:
img59.imageshack.us/img59/5175/6r8f.jpg
i have rooted it. i need to completely disable the Button X. can someone help me? I want to somehow edit some settings in some file to completely disable the X Button. So i dont want the button to function anymore.
i also believe the X button behaves like the Back Button in Android OS. And so maybe i should look for a way to disable the Back Button? Anyone have some advice?
thank you
Xaibatsu said:
i have rooted it. i need to completely disable the Button X. can someone help me? I want to somehow edit some settings in some file to completely disable the X Button. So i dont want the button to function anymore.
i also believe the X button behaves like the Back Button in Android OS. And so maybe i should look for a way to disable the Back Button? Anyone have some advice?
thank you
Click to expand...
Click to collapse
You could modify some file /system/usr/keylayout/
You must find the right file for the buttons, and comment out line for X.
I wish you luck, because I can't help you more precisely.
Sent from my GT-I9100 using xda app-developers app
The a button is the back key
Sent from my ARCHOS GAMEPAD using xda app-developers app
yousef8824 said:
The a button is the back key
Sent from my ARCHOS GAMEPAD using xda app-developers app
Click to expand...
Click to collapse
Thats odd, i swear i thought the x button is back.
Ok well i need to find the key layout file and delete or conment out the entry for this button.

[Q] Gmail App - No "Settings" button?

Hello All,
I upgraded the GMail app on my One to the latest version and I noticed that there is no longer a 'Settings' button on the menu bar. On other phones (i.e Samsung S3 or S4) you could press the Menu soft button on the phone and click SETTINGS but the One doesn't have the soft key for Menu. I've attached an image of what I'm referring to. I know this it the old version, but just used it for reference.
Any idea how to get to Settings in the Gmail app now?
pekohl said:
Hello All,
I upgraded the GMail app on my One to the latest version and I noticed that there is no longer a 'Settings' button on the menu bar. On other phones (i.e Samsung S3 or S4) you could press the Menu soft button on the phone and click SETTINGS but the One doesn't have the soft key for Menu. I've attached an image of what I'm referring to. I know this it the old version, but just used it for reference.
Any idea how to get to Settings in the Gmail app now?
Click to expand...
Click to collapse
Yup. I'm having this dilemma too. Either I am stupid, of a very stupid design by google.
gordievsky said:
Yup. I'm having this dilemma too. Either I am stupid, of a very stupid design by google.
Click to expand...
Click to collapse
So turns out this isn't really Google's fault, it's HTC's. Somehow HTC decided to design this wonderful phone but not include a Menu button. I don't know how this got by designers and approved by HTC but it's a negative for The One, IMO. Don't get me wrong I love the phone, but this is plain silly.
So, in order to get your 'Settings' back (and any other 'menu' function) in the gmail app, you need to install a ROM that has an option to modify one of the soft keys to for 'Long Press = Menu". I personally am using CleanRom. This let's me use a long press on the 'Home' button to activate the Menu options. This will work with any other app on the phone also.
Here's another thread on a work around:
http://forum.xda-developers.com/showthread.php?t=2191626
Or just search the forums for: HTCLogoMenu

[Q] how can I force software menu button to show?

My sister has a Sprint GS4 and the menu button is broke (home also, but she has a soft home app, could not find a decent menu button, oddy enough).
I know that if the phone has no physical menu button, the app always puts one somewhere on the app. My question, is there a build.prop or similar to trick all apps into thinking the phone has no physical menu button so it will show in the app? Thanks, i hope someone can help. (Phone not rooted, but i can root it)
mvmacd said:
My sister has a Sprint GS4 and the menu button is broke (home also, but she has a soft home app, could not find a decent menu button, oddy enough).
I know that if the phone has no physical menu button, the app always puts one somewhere on the app. My question, is there a build.prop or similar to trick all apps into thinking the phone has no physical menu button so it will show in the app? Thanks, i hope someone can help. (Phone not rooted, but i can root it)
Click to expand...
Click to collapse
Button Savior-Non Root should work. It would be better to root it though as you have a lot more and better options, such as Pie controls with the LMT Launcher.
I actually did try that, but it was a very ugly interface. There's gotta be some system-wide setting that lets all apps know whether you have a hardware menu button or not, right?
mvmacd said:
I actually did try that, but it was a very ugly interface. There's gotta be some system-wide setting that lets all apps know whether you have a hardware menu button or not, right?
Click to expand...
Click to collapse
Only if you are rooted.
es0tericcha0s said:
Only if you are rooted.
Click to expand...
Click to collapse
Exactly, I can root it (I have CM11 on my own S4 so I have rooted before). I just wanted someone to tell me exactly what to change and I'll root it and do the modification.
I just don't want to root it if I can't find out how to accomplish the menu button.
mvmacd said:
Exactly, I can root it (I have CM11 on my own S4 so I have rooted before). I just wanted someone to tell me exactly what to change and I'll root it and do the modification.
I just don't want to root it if I can't find out how to accomplish the menu button.
Click to expand...
Click to collapse
http://forum.xda-developers.com/xposed/modules/xposde-module-3dot-menu-mod-t2444531

Categories

Resources