Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

So my power button broke on my droid 1 (yes old phone). Until I can get a new phone soon, I need a better way to lock and unlock my screen. Sliding up and down the keyboard slows down everything.

Is there an app or a way that lets me re-assign my physical camera button to do this?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Yes, there is. The first one coming to mind (forgive me, it looks like this is one of my standard answers here meanwhile) is Tasker, the most complete automation tool for Android. It lets you define actions based on events; so for your case, you could let the event Hardware -> Camera button pressed trigger the action "Display off".

You want to turn it on again the same way -- so simply make it two "profiles", and combine two events: "Camera button pressed" & "State -> Display: On" (with the "task" to turn the display off), and with "Display: Off" the other way round.

Remark: There's a 7 day trial version available on the developers website, so you don't need to buy Tasker straight away without being able to test it. As soon as you've got everything configured, export your configuration. So if after those 7 days you still cannot decide whether to buy, simply uninstall Tasker, install it again, and import your configuration. Before you hit me: That's what the developer himself wrote, so nothing illegal.

share|improve this answer
    
thank you very much :) –  Jake Nov 13 '12 at 22:29
    
You are very welcome -- glad I could help! –  Izzy Nov 13 '12 at 22:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.