[Q] Global Button Luckdown - Android Software Development

I'm looking for an application that will allow me to lockdown all buttons on my phone.
On long drives, my toddler frequently watches movies on my phone, however she loves to push the home button, and the trackball stops the movie. I can't be turning around several times to restart the movie.
So what I'm looking for is an application that will lock or turn off all the buttons in a reversible manner. You could toggle it from the notification pane, or from the dialog that appears when you hold down the power button.
Does anyone know of an application like this? If not I'll probably end up writing my own.

Related

Virtual buttons disabled when screen is off?

Just bought my HD and is loving it. However, the lack of physical buttons is quite frustrating, especially when I am driving.
I like to listen to music with the screen turned off. However, when the screen is off, all the virtual buttons are disabled. Only the physical buttons like the volume and power are active.
Does anyone know if there is a way to enable the virtual buttons even when the screen is off?
i too would be very interested in this. the buttons are not capacitive, but still the ability to wake / power on the phone using the front buttons would be cool
Unfortunately the use of the hardware keys are disabled whilst in standby mode and this cannot be changed
However you can use 3rd party apps like AEBPlus to map other functions to buttons like vol up
i.e.
Volume Up button
One short press > move up
two short press > play
Long press > volume up
and this can be duplicated with different functions to other buttons
Try doing a search for AEB Plus and read up on it. Also search this forum for other methods
Fallen Spartan said:
Unfortunately the use of the hardware keys are disabled whilst in standby mode and this cannot be changed
However you can use 3rd party apps like AEBPlus to map other functions to buttons like vol up
i.e.
Volume Up button
One short press > move up
two short press > play
Long press > volume up
and this can be duplicated with different functions to other buttons
Try doing a search for AEB Plus and read up on it. Also search this forum for other methods
Click to expand...
Click to collapse
I am already using AEBPlus but I need more than 2 buttons. The mapping is done by the application, PocketPlayer, and it doesn't support double press.
Interestingly, when you are making a phone call, the screen will go off initially. You can actually press one of the virtual button to turn the screen back on. So I thought there might be a way to achieve this...
How is your screen getting turned off? By PocketPlayer or by the system's energy-settings? Possibly try Display Switch (yet another little app as Part of psshutXP) for this. Found this in my Touch (ELF) Rom and use it for any app, that doesn't support display-switching itself. Keeps my (hardware)-buttons funktional...
references: http://forum.xda-developers.com/showthread.php?t=320450
or http://forum.xda-developers.com/showthread.php?t=463064

Remapping the power button

In the camera and videoplayer app the power button acts as a screen locker... You can still see the dipsplay but the touchscreen is not responding anymore until you press the power button again.
Is this expandable to other apps? Most preferably navigation apps. When driving the bike I usually have the phone in my pocket, so when navigating on the bike taking it in and out of my pocket often makes me press something.
Locking the screen would be perfect (maybe also for other apps).
I looked at Tasker but weren't able to find anything there... any other options?

Screen Lock & Freeze w/ Camera+Left

In trying to set up controls for a game, I found a very unhappy button combination. If the camera button is fully depressed while holding the left key on the hardware keyboard, the screen will lock and usually freeze the phone. Another user who tried to replicate this for me got an unresponsive camera app that required a reboot.
What are other users' mileage here? Anybody have any ideas on a workaround, or is this probably just a hardware quirk?
i tried every diff combination of left and the camera button, and did not have the same experience. i do know that if your in the camera app, and press power, it does lock the phone, but i think it is supposed to. pressing the power button a second time unfreezes it. imma do more research. i read something about this once on ppcg.
i found this.may or may not be the same thing for your friends.
"hey folks For those of you experiencing a lock-up while in camera mode, I thought it happened to me the other day as well, turns out its not a bug its user error. If you try to turn off the screen while in camera/video mode by hitting the screen lock button you are locking the camera mode, which mean you are making it so that the phone does not accept any inputs aside from unlocking by hitting the power/ screen unlock button again. This "lock mode" is indicated by lock icon appearing in the top corner of the screen. The reason for this screen unlock button again. This "lock mode" is indicated by lock icon appearing in the top corner of the screen. The reason for this mode is actually good, if you are filming something important you don't a finger slip hitting the back/home buttons and ruining your video, so you can lock it and not worry about it. Of course this means if you don't know about the feature and you activate it, instant freak out. But, now you know mode is actually good, if you are filming something important you don't a finger slip hitting the back/home buttons and ruining your mode is actually good, if you are filming something important you don't a finger slip hitting the back/home buttons and ruining your video, so you can lock it and not worry about it. Of course this means if you don't know about the feature and you activate it, instant freak out. But, now you know "
That may have something to do with it, but is not the problem I am having. When I am somewhere outside of the camera app (homescreen or game, for example) if I hold the left arrow key and fully depress the camera button, the screen will turn off and make the lock sound. Usually I can unlock it with the power button or this combinaton again, but it will occasionally freeze and refuse to accept input from the touchscreen or capacitive buttons.
(If it's at all helpful, I was trying to set up the camera button as the R shoulder button in SNESdroid.)
It could be that the phone is getting confused and thinks I'm trying to lock the camera app, but since I'm not in the app it locks the entire phone.
I just did it while reading your post lol I can confirm it freaks out lol
Sent from my SPH-D700 using XDA App

power button wake up problem

is anyone having issues with waking up this phone? Randomly to get the screen back on I will have to press the power button about four times for the screen to come back on. its really starting to bug
Sent from my MB860 using XDA Premium App
press harder. I learned quickly that it takes a firm push and you have to hit the button w/o your fingers getting caught up on the sides of the phone.
it's either that or you got a bad button
I have the same issue, this along with the lag I get at times when I attempt to use the camera has me seriously considering returning this phone. The Inspired I returned had non of these issues just a tinny speaker.
Sent from my MB860 using Tapatalk
Mine wouldnt go to sleep today when pushing the button. Seems to be a few bugs with this phone eh?
I'm starting to look at re-mapping the keyword to allow the volume keys to wake it up, and then use the fingerprint reader to unlock it. That power button seems to fragile to me. To turn the screen off I just use Extended Controls.
Any thoughts?
Widget locker has an option to use the vol buttons for wake
I kinda have the same problem but its when i press the lock button the screen shuts off but then comes right back on. I press it again, it shuts off, then comes right back on.
I had the same problem - power button wouldn't wake phone from sleep.
I had to do a battery pull to resolve the issue.
I'm using the lastest FW.
Motorola phones (Not just Atrix, but Droid X also) have some funky business that sometimes prevents/delays the screen from turning on, even if the button press is registered. This happens with the power button and also the volume buttons if they're used to wake the device (Like with WidgetLocker). I haven't been able to narrow it down, but I suspect it's related to (ab)use of PowerManager's preventScreenOn()
[email protected] said:
Motorola phones (Not just Atrix, but Droid X also) have some funky business that sometimes prevents/delays the screen from turning on, even if the button press is registered. This happens with the power button and also the volume buttons if they're used to wake the device (Like with WidgetLocker). I haven't been able to narrow it down, but I suspect it's related to (ab)use of PowerManager's preventScreenOn()
Click to expand...
Click to collapse
It sounds logic to me, because even editing the right keyboard file to add a wake_dropped to the volume down, it won't turn on the screen. I hate when they change things the way they do with this, the bootloader, etc.

[Q] Re-map the power button to a custom action?

Hi Everyone,
I recently got a Surface Pro. It has one really annoying limitation that seems to belie the whole 'tablet' aspect of the laptop/tablet hybrid theme. Pressing the power button while the computer is awake puts it to sleep rather than simply turning the display off. It doesn't look like Microsoft has included any functionality for simply turning the display off. Unless you wait for it to turn off by itself, you can't use the power button to turn off the display without also putting the computer to sleep. I was able to get around this somewhat by downloading a freeware utility that lets you turn the display off with a custom keystroke (Monitor Off), but I would really like to be able to just turn off the display using the power button instead of having to put it to sleep every time.
One option that Microsoft does include in the power management settings is the option to make the power button do nothing. If I select that option, then nothing happens when I push the power button. My thinking is that combining that option with an app or a hack that re-maps the power button to the keystroke I set in Monitor Off would probably do the trick. Does anyone know of such an app or hack?

Categories

Resources