Power Button Long Press menu - Nexus One Q&A, Help & Troubleshooting

Has anyone seen a Nexus app, utility or firmware that modifies the power button Longpress menu behaviour. ie the "Phone Options" menu that pops;
Silent mode | Airplane Mode | Power Off.
I am looking to get an app developer to add a new menu item in there within his existing application. He has asked me if I have seen it elsewhere. To which the answer is no. But if I can find an existing app that does it, it might help him work out how to do it.

CyanogenMod adds a reboot phone option to this menu.

Perfect thanks. That was just the sort of thing I want to know. Wonder if simlar sort of mod can be achieved with an unrooted phone.

logger said:
Perfect thanks. That was just the sort of thing I want to know. Wonder if simlar sort of mod can be achieved with an unrooted phone.
Click to expand...
Click to collapse
Probably not...

Related

[THINK TANK] Remap Power/Lock to Camera Functions & Remove Low Battery Limitations

[THINK TANK] Remap Power/Lock to Camera Functions & Remove Low Battery Limitations
Hi all, i've had a thread about this in general for a while, but i think I would get more attention to this matter here.
I may not be a dev, but I do believe this is very doable, especially because Ive read this in a thread posted by rhcp0112345 titled Debug Codes which proves that the power button can be remapped to do certain functions just like my old G1 could do:
*#*#7594#*#*
This one is my favorite one. This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off.
You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.
Click to expand...
Click to collapse
I also remember devs adding support for a Reboot Option to the Power Off Menu, so I think if that is possible, then it should be possible to add a Camera option to that list, and when the Camera is open, rather than use the power button to lock the screen and capacitive buttons, we can allow it to take pictures, and if you long press it, it will show the usual Power Off Menu plus the Lock option.
Also I was wondering if it was possible to remove what I call the Low Battery Limiter which denies the user access to the Camera, Avatar, Video Player and Music apps.
Opinions? Ideas?
Thanks for your time everyone! Our community is awesome!
speedysilwady said:
Hi all, i've had a thread about this in general for a while, but i think I would get more attention to this matter here.
I may not be a dev, but I do believe this is very doable, especially because Ive read this in a thread posted by rhcp0112345 titled Debug Codes which proves that the power button can be remapped to do certain functions just like my old G1 could do:
I also remember devs adding support for a Reboot Option to the Power Off Menu, so I think if that is possible, then it should be possible to add a Camera option to that list, and when the Camera is open, rather than use the power button to lock the screen and capacitive buttons, we can allow it to take pictures, and if you long press it, it will show the usual Power Off Menu plus the Lock option.
Also I was wondering if it was possible to remove what I call the Low Battery Limiter which denies the user access to the Camera, Avatar, Video Player and Music apps.
Opinions? Ideas?
Thanks for your time everyone! Our community is awesome!
Click to expand...
Click to collapse
If I remember correctly, the key mapping is actually in the kernal, which means that someone who was cooking up a full blown ROM would directly have to go in and map the driver function to the kernal. I don't think this is impossible, but it may not happen for a while. I do agree though, this is a very good idea except for moving Screen Lock to the menu for holding the power button. I think something simple like double press or Power+Volume Up. If I ever find time to muck around in the kernal source, I'll give this a look
speedysilwady said:
Also I was wondering if it was possible to remove what I call the Low Battery Limiter which denies the user access to the Camera, Avatar, Video Player and Music apps.
Opinions? Ideas?
Thanks for your time everyone! Our community is awesome!
Click to expand...
Click to collapse
This would be great!
Tydiz said:
If I remember correctly, the key mapping is actually in the kernal, which means that someone who was cooking up a full blown ROM would directly have to go in and map the driver function to the kernal. I don't think this is impossible, but it may not happen for a while. I do agree though, this is a very good idea except for moving Screen Lock to the menu for holding the power button. I think something simple like double press or Power+Volume Up. If I ever find time to muck around in the kernal source, I'll give this a look
Click to expand...
Click to collapse
ah so its all in the kernel i see. Yeah your idea the double tap sounds good too! I appreciate your interest in the idea! Do you know how to disable the Low Battery Limiter? would that be in the kernel too?
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
thegreatcity said:
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
Click to expand...
Click to collapse
maybe someone could make an apk along with the kernel to remap it to any button you want. i remember the g1 had a hack that allowed that possibility so im sure the vibrant can do it if someone had the will and know-how
The battery thing is here:
http://forum.xda-developers.com/showthread.php?t=748400
rhcp0112345 said:
The battery thing is here:
http://forum.xda-developers.com/showthread.php?t=748400
Click to expand...
Click to collapse
Thats not quite what I think they are talking about. That will simply make the popup that says "battery full, please unplug" go away. The issue is when your battery is low, the phone will deny you going into certain applications, such as the video player or other things.
Any progress on the low battery limiter?
thegreatcity said:
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
Click to expand...
Click to collapse
Then what would you do with the zoom in/out function that's currently mapped to the volume rocker?
I think the current "Lock Screen" function of the power button is useless, and would make way more sense as a physical button for the shutter.
While they might not be in the right place, I think remapping the volume keys for the camera just makes more sense.
Click to expand...
Click to collapse
Then what would you do with the zoom in/out function that's currently mapped to the volume rocker?
I think the current "Lock Screen" function of the power button is useless, and would make way more sense as a physical button for the shutter.
Click to expand...
Click to collapse
I second this statement.
No offense to anyone, but using the volume buttons is a stupid idea!
Sent from my SGH-T959 using Tapatalk
so i tried contacting JAC about this through a Private Message a few days ago, he hasnt responded yet but he's been active on twitter lately, so maybe he doesnt check his PMs, i dont have a twitter so i was wondering if anyone that does could tweet this thread to him and ask if he would be interested in implementing it in his kernel?
remapping the volume keys isn't necessarily in the kernel. just install adw launcher or launcher pro and add the camera app to your dock. it's easier.
xREVOx, I think you misunderstood the OP. I believe he is suggesting the power button be remapped to the camera shutter, which I believe is an excellent idea. I would love to help, if I could. I know c++, but have never messed with the linux kernel or android rom dev so I doubt I would be of much use. Either way, I would lover to see it a part of CM 6.1 when that comes out
Sent from my SGH-T959 using XDA App
xREVOx said:
remapping the volume keys isn't necessarily in the kernel. just install adw launcher or launcher pro and add the camera app to your dock. it's easier.
Click to expand...
Click to collapse
Like MinosDis said I was thinking of having an option to add Launch Camera to the power button menu, and once the camera app is launched the power button could be used as a physical shutter button.
Also I really wanna get rid of that low battery popup that prevents access to the music player video player and camera.
If anyone with a twitter echoes my sentiments perhaps they can retweet this thread to @wesgarner or @justanotherdev because I can't get ahold of them on here and I have no twitter.
I use mixzing, and it will play up until you phone powers off. Not quite a hack, but a viable workaround for now
Sent from my SGH-T959 using XDA App
adamcooks said:
I use mixzing, and it will play up until you phone powers off. Not quite a hack, but a viable workaround for now
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Thanks for the tip, I use rock player for videos, and I tried some free camera apps but they all aren't as good as the stock one so I'm hoping jac or kingklick will implement this into one of their kernels
Did you guys Manage to Remove Low Battery Limitations? If not I have, mine is now set to warn / warning level at 5%
eugene373 said:
Did you guys Manage to Remove Low Battery Limitations? If not I have, mine is now set to warn / warning level at 5%
Click to expand...
Click to collapse
Hey eugene thanks for your input and contribution I don't think anyone made any progress on this front. JAC told me it is rom AND kernel related if I wanted the battery limits removed and the camera button remapped so it's not that easy. I'm very glad and thankful that you handled the low battery limitations thank you so much!
Just in case anyone subscribed to this thread.
There's an app in the market called "SGS Tools". You can now use the power button as a shutter button, take pictures when battery is low, and pinch to zoom on the camera (it's a little sluggish). Thanks to Fr4gg0r for developing this.
Article here
http://androidspin.com/2010/12/12/update-your-galaxy-s-camera-to-support-push-to-zoom/
Edit:Do Not Download. There has been reports of it messing up the camcorder and force closes.

anyone created an APK for a simple back button

I don't need a lot of added functions, but I would love the ability to go "back a level in menus"
Maybe its I am new but can find no reference to the ability.
Can anyone help?
rgreenpc said:
I don't need a lot of added functions, but I would love the ability to go "back a level in menus"
Maybe its I am new but can find no reference to the ability.
Can anyone help?
Click to expand...
Click to collapse
Not sure if you are running stock or some other mod, if you are rooted you can get the Button Savior app or Softkeys app. both present the standard android keys on the screen for you to use.
I will take a look at softkeys.
rgreenpc said:
I will take a look at softkeys.
Click to expand...
Click to collapse
I ended up using Button Savior, because its got the option of having the button displayed permanently (unless you "x" it out).
You can swipe to the left on the taskbar to go back.

Clockwork mod back button?

Like everyone knows, we do not have back button in NC. This causes inconvenience with recovery menus. It's possible to get the back menu option to show by scrolling the menu down enough. Unfortunately it won't show up in the current menu, only if you open a new menu item it appears.
So is it possible to make the back option on by default somehow? What about refreshing current menu?
Power=back
razmajazz said:
Power=back
Click to expand...
Click to collapse
Hmm. I don't think so. At least with .28 it was just second select button. Maybe was not always like that? Power button works in 3.2.0.1?
Yes, power is back.
Sent from my NookColor using XDA App

no soft key, app button on cyanogenmod 10.1 on touchpad

I looked at a lot of threads already and can't seem to find a solution. Looks like someone messed up the settings on my touchpad and I can't get the three soft keys and taskbar on the bottom to appear . The button on the top right to go to the app menu is gone also.
There is no way to get onto the setting menu unless I restart the touchpad and use the "low battery" button to get to Battery on settings. Is there anyway to get onto the setting menu with no soft key / app menu ? If I can just access the setting without restarting every time can I can try to fix the problems.
Did you go to system, buttons and layout
Sent from my TouchPad using xda app-developers app
Well I had to recharge the touchpad and can't get into settings now. Anyone can help ?
aznthienz said:
Well I had to recharge the touchpad and can't get into settings now. Anyone can help ?
Click to expand...
Click to collapse
Can you use the pull drown notification on the right top?
Sent from my TouchPad using xda app-developers app
Nomad1600 said:
Can you use the pull drown notification on the right top?
Sent from my TouchPad using xda app-developers app
Click to expand...
Click to collapse
not on android. I think webos boot still works but I'm not sure what I can do from there to fix the os on android
aznthienz said:
I looked at a lot of threads already and can't seem to find a solution. Looks like someone messed up the settings on my touchpad and I can't get the three soft keys and taskbar on the bottom to appear . The button on the top right to go to the app menu is gone also.
There is no way to get onto the setting menu unless I restart the touchpad and use the "low battery" button to get to Battery on settings. Is there anyway to get onto the setting menu with no soft key / app menu ? If I can just access the setting without restarting every time can I can try to fix the problems.
Click to expand...
Click to collapse
Not really sure what you mean by you can only get into settings with the low battery button. But there is an app in your app drawer called settings that takes you to the settings. Also, you could have expanded desktop on so long press the power button and see if you have the option there. If not go into settings and then "system" and look at your expanded desktop options.
aznthienz said:
I looked at a lot of threads already and can't seem to find a solution. Looks like someone messed up the settings on my touchpad and I can't get the three soft keys and taskbar on the bottom to appear . The button on the top right to go to the app menu is gone also.
There is no way to get onto the setting menu unless I restart the touchpad and use the "low battery" button to get to Battery on settings. Is there anyway to get onto the setting menu with no soft key / app menu ? If I can just access the setting without restarting every time can I can try to fix the problems.
Click to expand...
Click to collapse
Hold down a finger on the home screen, then go into Launcher Settings, see if you can enable the Dock. May have been disabled by mistake.
If that is not available, go into Apps and then access Settings from there.

Back, Home and Recents buttons?

Hello,
after the sources for the Z2 Pro have been released and good Custom ROMs are possible, I would love to buy this beautiful device. I've read alot about this U-Touch thing, where you navigate only by using the Home Button... and I don't like it. So my question is: Does this phone also have the normal Back, Home and Recents hardware buttons?
Thanks!
Hi,
Yes, you can add on screen buttons in "Developer Options" menu. At least you can do it with z2 (non pro). I guess you will have this option too.
So there are no "real" hardware buttons to the left and the right of the home button?
On screen buttons are in developer options in both models, make sure you reboot to effect the changes.
Thanks for your answers. I know about the possiblity to show the On Screen Buttons, but that's not what I wanted to know.
I'm curious if the device also has dedicated hardware buttons (not on screen) for Back and Recents, or just the U-Touch button?
It only has 1 physical button on the front..
I'd love to see an app or even integration in a custom rom to be able to configure the behaviour of the front button. What are the chances this will become reality?
It already lets you configure what the button does. You can also preset actions to open specific apps.
Karly Johnston said:
It already lets you configure what the button does. You can also preset actions to open specific apps.
Click to expand...
Click to collapse
But that is in the ZUI ROM right? I'd like to see this in a separate app or built into custom ROM so it can also be used outside ZUI.
Now that the sources are available someone who knows what he is doing should be able to pull this off.
Is there a way to make swipe left on the u-touch button act like a back button? Maybe there would be a way to have it open an scripted action that acts as back button?
Edit: Just figured out that short tap is back, so my problem is solved!
Thanks, this helped me out!
I'm looking for a phone with this same exact button. I'm always super stunned how retarded iphones are compared to my $200 phone.

Categories

Resources