Playing with the Pwr On/Off Button - XPERIA X1 General

Is is possible / any way to mod the power button??
like... trigger an event ( apps, wav/mp3 clip...etc) when it is being pressed??
guess it would be fun to play with

AE Button Plus seems to work on all buttons except the X panel button and the power button. But do you really want to modify that button that you use so often to switch the phone into standby?
I'm using the first state of the camera button for the alt+tab function from pocket plus. There you have a tip on a button that isn't used for anything as long as you are not using the camera.

programmatically this can be done, since it is possible to trap power on and power off event..

[email protected] said:
AE Button Plus seems to work on all buttons except the X panel button and the power button. But do you really want to modify that button that you use so often to switch the phone into standby?
I'm using the first state of the camera button for the alt+tab function from pocket plus. There you have a tip on a button that isn't used for anything as long as you are not using the camera.
Click to expand...
Click to collapse
x panel buton works as well, I have touch it hd installed and I'm using panel button for default first today screen of touch flo

Power red Led on X1
Since you are talking about the power button have any of you noticed that it have a red led?
I've seen mine lit some times, but only when my X1 runs completely out of battery, when I plug it to the charger the led it's on for 5 Min +- and I think the purpose of it is to announce that the device isn't charged enough to start as it wont star if I press the button, only when the standard 4 led's begin to do the usual animation it will start (by this time the power red led it off).
I've look in some manual's and didn't even find a reference to this led..
I think it would be great if we could port this led to do some notifications as it is way more noticeable than the regular led notifications.

really? but how?
I know nothing abt programming...seriously.....
I just wanna play a sound clip when it is pressed on and another one when off

I had noticed when I tried to update though sony ericsson's update tool, I was connected it with the computer by usb cable, and when I removed the batt. the LED lits

http://forum.xda-developers.com/showpost.php?p=3081934&postcount=1
new prog that uses the power button

Related

xda mini power button problems

hi, recently damp got into my xda mini s and disabled all the button, after a while it thought that all the buttons were pressed down, so i tried dryin the device out and it seemed to sort everything out except for the power button, the device thinks that the power button is constantly pressed in so it will either switch the screen off or ask if i want to switch the device off. i was wonderin is there any way that i can completly disable the power button and use another button like the camera button to be the power button instead? many thanks

Hard to Press the Power Button !!

Hi All, I have owned a lot of HTC phones and now I have the HD, its the first time I see HTC phone with such small, thin, and hard to press power button !!
especially in the dark, I cant press it and wake up my phone easily !!
I MANAGED TO TWEAK MY HD and now I wake up my device pressing the volume button, but again I have new problem : sometimes when I carry my phone the volume get pressed by mistake and the ringer get muted or low and I miss some calls !!!
Any solution for this problem so I can wake up my phone from the standby without pressing the microscopic power button !!
Take out the stylus and insert it back again. That wakes up the device. Otherwise you might want to search for a G-sensor enabled "wake-up" application. "Shake_it_to_wake" so to speak...
ahmadddd said:
Hi All, I have owned a lot of HTC phones and now I have the HD, its the first time I see HTC phone with such small, thin, and hard to press power button !!
especially in the dark, I cant press it and wake up my phone easily !!
I MANAGED TO TWEAK MY HD and now I wake up my device pressing the volume button, but again I have new problem : sometimes when I carry my phone the volume get pressed by mistake and the ringer get muted or low and I miss some calls !!!
Any solution for this problem so I can wake up my phone from the standby without pressing the microscopic power button !!
Click to expand...
Click to collapse
Hello
Use S2u2
facet_ said:
Hello
Use S2u2
Click to expand...
Click to collapse
How can you use it to wake up the device? I don't see that option in the description, except the default stylus in and out...
...
I guess S2U won´t help you with waking up your device but if you use volume buttons it will protect you from accidental muting your phone.
I found power hard to press, too, but then I looked closely: This power 'button' is indeed non-symmetrical - at least on *my* device: it stands up a bit on one side, the left side, which is closer to the middle of the HD. So I press it *there*, because obviously enough that's the place where the sensor is located. It works easy every time.
ducatisto said:
I found power hard to press, too, but then I looked closely: This power 'button' is indeed non-symmetrical - at least on *my* device: it stands up a bit on one side, the left side, which is closer to the middle of the HD. So I press it *there*, because obviously enough that's the place where the sensor is located. It works easy every time.
Click to expand...
Click to collapse
Thats a brilliant tip. Thank you.
david-v said:
How can you use it to wake up the device? I don't see that option in the description, except the default stylus in and out...
Click to expand...
Click to collapse
Hello , use keylock.exe and set unlocking any key + s2u2,
ahmadddd said:
I MANAGED TO TWEAK MY HD and now I wake up my device pressing the volume button,
Click to expand...
Click to collapse
Can you tell me how?
Ducasito. Good observation. I wondered why sometime it was easy and sometimes hard. So the slight non-symmetrical button is not a manufacturing fault but a very subtle design feature. Now I know which side to hit. Thanks
Seems all HD's are different OR I have a very heavy finger.
All I need to do to get it to wake it lightly touch the power button and it comes on.
JanSchotsmans said:
Seems all HD's are different OR I have a very heavy finger.
All I need to do to get it to wake it lightly touch the power button and it comes on.
Click to expand...
Click to collapse
I suppose it is just a matter of "where" you push the button. Just push it on the left edge (where the small led is placed) and you will not need that much pressure to switch the device on or off. The button sensor is actually under that left edge. the picture shows the powerbutton part (picture taken from the HTC Touch HD service manual). Under the left edge of it is the sensor, so putting the pressure there is the best way of pressing the button
ahmadddd wrote:
"I MANAGED TO TWEAK MY HD and now I wake up my device pressing the volume button"
my question is: how did you manage it? with a special registry key?
....since a few months I`m searching for a solution....please help me
(my fingers are too big for the Power button)
many thanks, Michael
TFH said:
ahmadddd wrote:
"I MANAGED TO TWEAK MY HD and now I wake up my device pressing the volume button"
my question is: how did you manage it? with a special registry key?
....since a few months I`m searching for a solution....please help me
(my fingers are too big for the Power button)
many thanks, Michael
Click to expand...
Click to collapse
You can use AE button plus. I use this to convert my volum buttons to up and down buttons on single click, select/ok on double click, and volume on hold and press.
Thanks for your answer but I´ve a further question:
Do you "wake up" (from standby) the blackstone by using this AE button? I tried to use this software but I couldn`t wake up the Touch HD from standby by using the volume buttons.

HTC On button problem

When i press the ON button to start the device ( after blank mode) . automatically the volume is invoked which is very annoying.
Is that becaouse of moisture...????
how to get rid of that?
What rom are you using? Maybe that rom has an alternative function for power button on long press.
i have WM 6.1 Rom. not yet upgraded.but it seems that when i press the power button , the last application gets invoked automatically. i dismantled the HTC completely and didnt see any moisture here.. i m not understanding whats the problem. if in stanby position (when light is off) , i revove the SD card , then also the last application ( camera or keypad, vol control, phone book) gets invoked.
The problem was noticed when in mp3 player " Power Music" gives a shattering sound once , in playing music the screen goes blank.
@hatcap_2000: Check for buttons settings in Settings->Personal->Buttons
If I am not entirely wrong (I could be ), you are not closing the 'last application'. Close that application, suspend the device and see if the problem persists.
Like if you suspend your device while volume control is displayed, waking the device back to on will display the volume control.
what application to close? if i access an vol key? dear.if i access camera key and then blank the screen, in next power on event..., i get camera activated. is it a hrdwr fault or software flt?
hatcap_2000 said:
what application to close? if i access an vol key? dear.if i access camera key and then blank the screen, in next power on event..., i get camera activated. is it a hrdwr fault or software flt?
Click to expand...
Click to collapse
If you click on the Speaker icon again, it will close the volume control.
Use task manager to close applications.
To me its a software fault.
Hush! to be on safer side i sold my cell for a good amt. @ 4500Rs. and bought N70 Nokia. Nokia rocks!!!!!
hatcap_2000 said:
Hush! to be on safer side i sold my cell for a good amt. @ 4500Rs. and bought N70 Nokia. Nokia rocks!!!!!
Click to expand...
Click to collapse
Thats a good one .
Its been long since I heard such a good joke

display wake up

Hi all,
i sometimes notice this problem on my omnia 7..
when the screen is turned off and i press the middle button the screen is not turning on.. i have to press it again or press the power button.. anyone experienced this problem?? any idea what can it caused?? I do not have any apps installed..
Thanks..
I have the same, sometimes the middle windows button will not wake the phone up.
When the middle button refuses to wake up the phone the camera button also refuses to wake up the phone and go straight to the camera app. I need to press the power button and then the camera button.
Annoying.
Do you guys know the term "it is a feature" when something in reality is a flaw - well in this case it really is a feature
If the sensors notice that the phone is in a complete dark surrounding it assumes the phone is in a pocket. Therefore it not wakes your screen up and also the camera button will not work. You can test this if you hold your thumb over the sensors next to the speaker strip.
Should your camerabutton not function in a bright setting, it is of course a different situation.
What an easy and clever answer..
Thank you very much.. next time i will think more.. OMNIA 7 rulezzz
Aaaah clever stuff!
Superb thanks

Turn screen on with a touch

In the display setting we can adjust the screem timeout. Mine is on 10 minutes for example.
Is there any application which can turn on the screen just with a touch on the screen (instead of pressing the power button) ?
Would be very nice together with the application "Unlock with WiFi"
I mean is there any application which enables the functionality to get the screen back (phone is not locked) only by touching the screen (instead of pressing the power switch on the top).
I know, folks, it is not a big deal to press the power switch, it is just a little bit more comfort to touch the screen only
I don't, believe so, but you can use the volume keys:
http://forum.xda-developers.com/showthread.php?t=1107041
scoob8000 said:
I don't, believe so, but you can use the volume keys:
http://forum.xda-developers.com/showthread.php?t=1107041
Click to expand...
Click to collapse
Hi scoob800. Thanks, but the volume keys would be pritty "the same" as to press the power button.
Generally spoken. Is it possible (and in case it is) and is there any application which can detect a touch on the screen, even if the screen is off ?
Well, the only thing I can think of is to set your screen to never autolocking and have a screensaver app that leaves the screen black. If you do that your battery will probably drain a good bit seeing as your screen will always be on.
Sent from my Gingerblurred Atrix
You can achieve this with NoLED, but that is not its intended purpose. I will explain how: When you get a notification that would normally trigger your LED, NoLED displays a customizable icon on a black screen. With SGS, which it was developed for, has samoled screen and black uses little to no bat/cpu. This is NOT the case with the Atrix, your battery WILL suffer. So battery aside.. Set NoLED to display the time (that way its always on even when you dont have a new notification). Now play with the settings, tell it to "wake up" with the home key. TaDa!
the short answer is feasibly NO. having the touchscreen on at all times will DESTROY your battery life. your only option is to enable the volume buttons.
I use the volume buttons with no lock screen ..... waaaayyy better then powerbutton
Sent from my MB860 using XDA App
Would like to avoid stress on the buttons
dLo GSR said:
the short answer is feasibly NO. having the touchscreen on at all times will DESTROY your battery life. your only option is to enable the volume buttons.
Click to expand...
Click to collapse
OK. But to be honest, what is the difference to use the volume buttons instead the power button ? I would like to avoid this mechanical stress of these buttons. As I used my last phone ( a Samsung) for 8 years, I am afraid, my ATRIX will not make it such a long time
But I got an other idea. What about one of the four "softkey" buttons ? For example the home button.
1.ATRIX-in-PT said:
OK. But to be honest, what is the difference to use the volume buttons instead the power button ? I would like to avoid this mechanical stress of these buttons. As I used my last phone ( a Samsung) for 8 years, I am afraid, my ATRIX will not make it such a long time
But I got an other idea. What about one of the four "softkey" buttons ? For example the home button.
Click to expand...
Click to collapse
The problem is they're still softkeys and not actual hardware buttons. Using the volume is just easier to press depending how your holding the phone. That and your spreading out that wear of the power button across 3 different buttons.
scoob8000 said:
The problem is they're still softkeys and not actual hardware buttons. Using the volume is just easier to press depending how your holding the phone. That and your spreading out that wear of the power button across 3 different buttons.
Click to expand...
Click to collapse
Soft keys will waste a lot of battery, it isn't a good way to turn on your screen by either soft keys or touchscreen

Categories

Resources