[Q] Using capacitive buttons while touching the screen - EVO 4G Q&A, Help & Troubleshooting

Hi there!
I'm having issues while coding for my Evo. While touching the screen, the Evo interprets me touching the buttons as another press on the screen instead of a onKeyDown, onBackPressed, etc. (It actually sets the MotionEvent pointer count to 2, and I can get the co-ords that I'm touching that are off the main screen, for example, 830*190 when touching the back button.)
Short of coding in the locations of the buttons (which would be different for every phone with capacitive buttons, if they all have the same issue), is there any way to get around this?

Related

Wake from suspend without hardware key?

Hi guys,
Here is my dream situation:
- Double tap "Hang Up" button to lock the device (I understand this can be done with AEButton Plus, although I haven't tried yet)
- Screen will turn off after a while
- Unlock the device by swiping the finger
At no point are the hardware buttons pressed! My new cover makes touching the power button very hard
Is this possible???
Thanks
They problem, as I am sure you've realized, is that once the phone enters suspended mode the digitizer is disabled (touch) and so are all other non hardware buttons.
I've always had problems with the power button on the HD being a pain in the neck to find and hit, so what I did to rectify this was cut a small hard plastic sticker to the size of the power button and stuck it on there. This helps a lot in not only finding the power button but also pressing it.
(Sticker was a liquid crystal thermometer sticker made by OMEGA: product number RCL-8050/150 I found this to be the perfect width, so I cut off a 1mm sliver off the end)
If you were really stuck on making this work exact as you described, you could prevent the phone from shutting down and just turn off the screen.
(I'm unsure of how the different screen off programs effect the digitizer, my guess it they all disable it at the same time, but I'm sure all that could be seperated.)
However since only the screen would turn off not the device, you'd drain the batter, and its short life would make this not worth it.
Alternate solutions:
Instead of doubletap hangup which you could do through AEButton Plus, but longpress end key can do the same thing just instead by holding the end call key
Also, you configure your phone to wake up at the press of any hardware key, IE the volume buttons on the HD.
Seen here
Also, you configure your phone to wake up at the press of any hardware key, IE the volume buttons on the HD.
Seen here[/QUOTE]
Could you please upload the Keylock Zip file?

Any other methods to turn the screen on??

Is there is any other way to turn the screen back on other than pulling the stylus, hitting the power button or sliding the keyboard ?
I'm wondering if there is any software that turns on the screen by shaking the device or by any other means like holding it upright or tapping on screen you know??
The button on the top of the device?
well I'm still not used to holding it in one hand and try to reach the upper button with my finger, even the back cover slips off sometimes when I'm pressing the button. They should have picked another position like the call button maybe, something easier to reach.
I use a software to turn off the screen by putting the device in my pocket upside down, I found it so practical. but couldn't find a software turns on the screen yet
Maybe you could try this.

Cab or other way to disable Screen Align??

Seems the TP2 also has a "grip of death" of sorts. Basically if you hit the Volume Buttons on the side of the devise and touch the screen, it automatically activates the Screen align util and until you complete the Screen align to the devices satisfaction, You are stuck there.
Basically this translates to any time you use the Volume Buttons while holding the phone to your face, It activates the Screen Align Util. (At least that is what happens to me about 10 times a day)
Does anyone know of a way to deactivate this "Feature/Major Annoyance"?
Thanks
mine does not do this. i suspect something is wrong with your device.
This also does not happen with my phone, just tested it out. Even called myself at work. Are you using a cooked ROM or stock? I am using stock ROM from AT&T
Try again. Hit both Volume Buttons (Simultaneously) on the side of the phone and tap the screen, It will start up the align screen until every time. I have verified that this VZN and Sprint TP2`s. It may be a CDMA thing but this feature is designed into the phone (And it sucks!).
Anyone know of a way to disable this?
mine does that from time to time, but I never figured out what causes it, but, you are right it is ANNOYING when it happens.
Cooked rom, if it makes any difference.
Hi all,
Confirmed on UK TP2 - stock WM6.5 ROM, no special apps etc installed. Had to soft reset to get out from a mixed screen align/text message app screen.
No looping align screen after reset - but annoying. Best suggestion (without being sarcastic!) - don't press both volume buttons at once, seems to be a way into a "fix the problem" mode for those with grossly un-aligned screens. How else could you get into align screen to fix the problem? ... aka "feature not a bug".
adam.
both volum buttons?
under what scenario are you hitting both volum buttons at the same time, with enough force to depress them, and touching the screen? I tried doing this on purpose and its almost impossible to do with intention much less on accident. you would have to be gripping your phone with massive, angry, force. maybe the fix is to stop talking to whomever it is that is pissing you off.
in anycase, i still could not get this replicated on the tmobile tp2. of course i am using the fastest and most stable rom provided for this phone: stock wm 6.1 with tf3d. so maybe its a feature of 6.5.x and some rendition of sense 2.x
Hold the Phone in your left hand. In my case my Thumb naturally rests on the Volume Buttons. My Thumb covers both Volume buttons. Now if I get a call and the phone against my Face and I attempt to adjust the volume with my Thumb (By rocking my Thumb up or down), Sometimes I manage to accidentally hit both. If that happens, The Screen align will start up every time because the screen is already touching my face.
I have talked with many other TP2 owners that have this same problems however they did not know what was causing it. All they knew was the Screen align kept starting up randomly.
Back to.. Is it possible to disable this? Maybe even assign a different key combination to start the screen align util such as Vol Down and endcall or something. It is too easy to accidentally press both volume buttons if you are on a call. If you do that while the phone is touching your face, the screen align will start and the phone is now locked until you get out the stylus and go through the realign.

[Q] [REQ] Completely disable capacitive buttons

Okay, so I've successfully managed to disable my capacitive buttons on my Note 2, using this (http://forum.xda-developers.com/showthread.php?p=34247225) tutorial right here. No problems there, but it seems that they are not completely disabled.
After I disabled the capacitive buttons, I have noticed that the area where the capacitive buttons are still function! Let me explain. The capacitive buttons does not do anything, but seems to have a functional capacitivity (correct word?). Example: When I'm watching a video on the youtube app and I touch the disabled capacitive buttons, they seem to wake up the phone as if I was tapping on the screen. Also in certain apps, they seem to actually function as if I was touching somewhere on the screen. In the game "Nemo's Reef" (don't ask), when I'm touching the disabled capacitive buttons it takes me to the menu in the game and does several other things like clicking in the menu, going back, moving the screen etc.
It's not a big problem, but it is annoying and do show that the capacitive buttons are not completely disabled - as promised in the tutorial. The capacitive buttons are disabled, but the capacitive area is still functional, and (in some apps) seem to act as if I were tapping certain areas on the screen.
My question: Is there a way to completely disable the capacitive area where the capacitive buttons are?
I hope this was interesting, and it would be a pleasure if somebody could look into this and/or give me an answer.

[Q] any app to make hardware buttons (volume) to control touch at a certain point?

This is probably the weirdest question asked but here's my scenario
I work part time at samsung store. My shift starts in the morning when we open. Naturally, we have to turn on all the TV's so i use my HTC's IR blaster (Range is amazing) to turn on all the TV's
What i want: an app (tried searching if it exists. no success) which can make the volume buttons function as if the screen is pressed in that particular point, when app running on background
I.E, if i press volume down, it performs the action as if the top right hand side of my phone is being pressed by my finger (Acts like a mouse i guess?)
The reason i want this is because the IR app i use has the buttons really close to each other, i end up pressing other buttons making the TV do different stuff (My fingers are chunky) and also this method would be very easy as i need to point my phone and press the physical button instead of constantly locating the button (Physical buttons are always awesome)
Maybe assign the volume up as if the left corner of my phone is being pressed, where the mute button is
Please tell me if an app exists or if i'm talking complete nonsense:silly:
If it doesnt make sense, read through again or ask me for a brief explaination. THanks:laugh:

Categories

Resources