Any way to disable capacitive buttons on the fly? - Android Q&A, Help & Troubleshooting

I'd like to disable capacitive buttons on my tab, and actually there are several ways to do it. Basically remapping them in the xml. But my needs are about to disable them on the fly, not going then after a reboot. I'd like to disable them depending a condition, like screen orientation: I'd want them enabled in landscape and disabled in portrait, on the fly.
Is there a way to recall in the mapping file a function like that? Or any other way?

Related

Control the location of Soft Buttons

Been seeing a few people talk about the soft buttons getting in the way while using the pen. It's a matter of timing and the pen has to touch the screen before your hand does to keep the buttons from being activated.
However, I did see a review that mentioned something that would be great.
I'm sure that someone could write an app that would control which set of soft buttons would be activated based on rotation. Is this API open within the Flyer so that someone can control them?
In portrait mode I'd actually prefer that the buttons on the left side be active, and in landscape I'd prefer the buttons on the "bottom" of the Flyer be activated - this would be the reverse of the current implementation (actually I'd really prefer to be able to control both independently).
This would solve a few issues. It would prevent users from touching the buttons with their hand while writing, but it would also put the buttons next to your hand while you're holding the device instead of having to move your hand to access the buttons you'd be able to do it with your thumb.
That sounds like a clever idea. I would use that feature if it existed.
It is a fantastic idea, I would pay for it!

[REQ] Remap Volume Keys Long-press (even while phone is locked)

I'd like to remap my volume keys so when i long-press them i can perform and specific function, even when the screen is locked.
I know CM7 had a feature you can map the keys for camera or next/prev track for music app, but what i would like is a Long-press option for screen brightness.
I also understand there are apps like widgetlocker which allow me to adjust from the lockscreen, but this doesn't work if i'm getting a call (with the sun beaming down its hard to see who's calling). Maybe there is an app on the market for rooted devices i'm missing?
I think this would be a cool feature and could have many uses, not just brightness/camera(no need on 3VO)/music.
any dev think its possible or can take a crack at it?

Why in the hell a navbar?

Been asking myself this question, i mean besides the fact that it looks kinda cool isnt it ABSOLUTELY USELESS?
I tried using it a few times but come one, lets face it its useless. We have buttons for it. And its quite anoying to use anyway.
So why do you use it?
Some phones and most tablets do not have hardware keys or they are hard to reach (except maybe a physical "home" button)
It's complete waste of display estate to enable and actually use a navbar on the S3 since, as you already point out, it has the major buttons as hardware keys, some with double meaning depending on press duration.
it's easier to use the on-screen buttons than to push the physical home button.
Also, ParanoidAndroid allows to adjust the navbar color on a per-app basis, which is pretty awesome
I also find it pretty useless but I think the point is to save physical buttons:silly:. Not using physical buttons keeps the phone in better condition for re-sell. Now they started to add Recent Apps and Lock phone icons(which I genuinely hate) in the status bar for the same reason.

[Q] Disable hardware buttons...

I'm on Eclipse. I've enabled the soft keys and tried disable the hardware keys by putting a # symbol in front of the keys in generic.kl or whatever it is. My home button is disabled. However, the menu and back keys still work. I cannot disable them. I've deleted their lines and everything. Is there another way to do it?

[Q] Modify keylayout file just change keycode not completely disable buttons?

I'd like to use navibar softkeys and decide to disable capacitive buttons.
After modifying general.kl, the feature of capacitive buttons are off.
But I noticed though these buttons' keycode all are 0 but still effect some apps when I press them,
e.g., if I press these buttons when I scroll in the launcher drawer, it will stop scrolling.
Is there a way to disable capacitive buttons completely not just make their keycode become 0?

Categories

Resources