Is there a way to track which button was pressed over a period of time?
For some reason, my phone is doing a lot of random things like pocket dialing or taking screen shots because the screen is being activated in my pocket.
I need to determine whether hw buttons are being pressed
Related
Tried to turn on my XDA yesteday and the button fell into the device ! This caused not to be able to turn on the screen unless I got a call. I downloaded Vito SystemTools' button maping program which allowed me to make my calendar button (when held down) to turn the screen on and off. The problem is that turning the screen on and off is not doing the same thing as the power button did. I was under the impression that all the power button did was turn the screen on and off to save battery and prevent unintended input. However, now my battery dies in 6-8 hours of use compared to the normal 2 days. Obviously, there is somthing more that the power button does.
What I'd like to know from the developers is if there is a program called by the power button and how I should access it. The button mapper program allows me to map any program I want to (almost) any hardware button (not the volume button). If it's a DLL or somthin I can probably write a wrapper program for it with some pointers.
I'm also in the market for a dummy xda or just another power button if someone has one just to get it to look better. However I like the functionality of holding down the calendar button for 1 second to turn the device on/off and would like to keep that permanently.
-Kevin
The power button is probably hard-wired to some processor wake-up logic. So when you turn the processor off, it's going to be very hard to make it wake up by anything else. You could write something that makes it wake up very very momentarily, say every few seconds, to check for a button-press. But my guess is what you want is a new power button.
damn Well i'm waiting on a dummy phone auction unless anyone over here has one to sell me.
I got exactly the same problem, the only difference is that i managed to get it back and i putted some silicone glue in it. It works and don't ask me how ;-)
Anyway, why don't you just press on the call - hang-up , calendar, volume button to wake the phone up?
Than just change the settings in battery power to make it shut down after 5min or 10min. It should help you reduce your battery life time since the phone gets automaticly in sleep mode after that time.
good luck,
Yann
I have my phone set not to wake up without the power button being pressed. I can turn this off but then buttons get pressed in my pocket since I don't like belt clip holders.
Does anyone know how to stop the screen from turning off during a call?
Move the phone away from your head?
Otherwise, why would you need it to be one when you're talking on it?
turn on the speaker, i think that disables the sensor.
This is a huge problem with 2.1.
In Android 1.5 on the Eris, you could push the TRACKBALL during a call to wake up the screen.
In 2.1, you only have two options. Pull the phone away from your head (often works, but not always, especially if you're trying to get through a phone tree, and often going back to the screen) or push the 'End' button.
If your phone's screen has been off LONG enough, the 'end' button will wake it up.
If it hasn't, the 'end' button will both wake up the screen AND END THE CALL!
It's a huge risk, and unnecessary. THE MINUTE the OTA comes out, I'm calling HTC about it, and asking them.
Oh, and for what it's worth, Screebl Lite takes care of this.
Just set up Screebl, mine is like 20-90 degrees for both portrait and landscape, and for the in-call activity, I have it not be active when up to my ear.
Screebl works GREAT to keep the screen on properly during a call.
Still calling HTC about it. That functionality should be built in better, or at least give me a way to wake up the screen when it gets stuck.
That is exactly my problem. When i go to wake it up to navigate the through menu options it hangs up alot. Very irritating! I will try Screebl.
Thanks!
you can also press any of the two volume buttons and that will wake it up without any bad effect except for a volume change.
Good tip about the volume buttons, I wasn't aware of that trick.
thanks
sometimes my phone won't wake up when I pull it away from my ear, but I usually just move my hand over the prox sensor and then back and it generally wakes up.
Keep Screen
This is a good thread. I had this problem too. After reading your posts I used the copy of KeepScreen that I already had and it worked also! May be my imagination but proximity sensor seems more responsive too.
I frequently use my Epic 4G as an audio player/streamer. I've been using a widget to prevent the screen from sleeping entirely which was all fine and dandy, except that I now have Pandora's GUI burned into the bottom of my phone. I absolutely hate having to press the physical power button to wake my screen and then unlock it just to skip a track or whatever. Does anyone know of an app that would allow the screen to black out, but then awaken via touch? Ideally with no lockscreen, but to the lockscreen without the power button would even be heaps better than having to deal with that physical power key on the side of the phone.
Hello,
in one of two cases the phone reactivates when I try to deactivate it. If you touch the display or one of the buttons while (or directly after) pressing the power-button the phone activates itself... that drives me crazy, because it is nearly impossible to deactivate it with one hand without touching the display at this moment.
Does anyone know hoe to get rid of that?
thanks for your help
I've experience that I think - I hit the power button to shut off the screen and lock it, and it immediately switches back on to the lock screen. It's not the end of the world as it is locked and will switch the screen back off in a few seconds, but it is strange.
Think I've figured out what's causing this - due to the size of the handset, when I go to switch it off with one hand, I find that my palm can just catch one of the soft buttons at the bottom of the handset such as the back button, so I think the back button is pressed immediately after the power button, causing the screen to come back to life.
So it's not a bug as such, maybe a design flaw.
Hi everyone.
I just wanted to ask if somebody knows a way to wake the phone (display) just with the home button? My display is often turned on by the power button unintentionally because i always cary my phone in my pocket. The home button on the other hand is well protected by the samsung flipcover i'm using. so, if there is a way, than i could save a lot of screen-on-time and therefore battery.