[Q] Hardware Button for Camera? - HTC Sensation

Is there any ROM or mod that would enable us to use a hardware button, most probably a volume button, to take pictures? I find it quite tedious having to touch the particular part of the screen!

On MIUI you can use the volume rocker as a dedicated camera button. I'm currently using the volume down option. I don't know if you can rip the camera from the MIUI build and use in the stock rom.

CM allows this as well. comes very handy.

Thanks for the reply guys. Although that does solve my immediate concern, those roms are very different to what i am used to. I really like the sense roms and would ideally like to stick with them!

Related

(IDEA) Volume Rocker as Camera Button

Another idea...
sorry if anyone is getting annoyed with me posting ideas all the time, and nothing else.
maybe there is already an app like this, i havent found one though...
i was taking pictures today, and couldnt help but notice, if you turn it (hd2/leo) upside down in landscape mode, the volume rocker (volume up, the top end) is in the perfect place for a hardware camera button, to actually take the photo. with the softkey camera button, its a little awkard... but the volume rocker would proved a nice feel to taking a photo, and improve things like timing, maybe.
Also, you can't listen to music while taking photos anyway, let alone make a call, so actually, in that moment in camera mode, those buttons are sitting around with nothing to do...
but, alas, i know nothing about things like this... mapping hardware buttons and such.
i should learn, but right now time is just something i dont have too much of.
let me know what you think, and if there is an app like this already, please, link it!
personally i think the "pick up" key would make a nice "shutter" using the volume rocker as zoom in and out. This topic has come up several times about mapping the shutter to a button.
optiknerv said:
personally i think the "pick up" key would make a nice "shutter" using the volume rocker as zoom in and out.
Click to expand...
Click to collapse
Shutter!!!! thats the word i was looking for..
I think it would be great if these functions could be configured by the user.
i think for me, the pick up key and other buttons would make a better zoom.. but i think the volume rocker has potential as a zoom function given that it is in fact, a rocker.
but the zoom on the hd2 isnt very substantial, that could nee improvement too.. if at all possible.
found
found this:
http://www.scilor.com/leocameraanykey.html
try it
on the pro2 with the KB config app i used to always remap the vol up key to take pictures but for some reason when i remap the key the same way i have for a long time, it just wont work any more!!! its to bad because i used to love having this as a option!!!

[Q] Is it possible to make a physical button into a camera taking button?

Like say you are in a camera app, and your phone has no actual physical camera button. But, you want to change, say one of the volume rockers to a camera button within the app.
Is this possible? Feels bad when you don't have a camera button on your phone
There are some custom ROM's that can do this. It really just depends on the model of your phone. Try looking looking in the phone specific sub-forum here for a ROM that lists that as a feature. Usually it will be a mod using the power button. Good luck.

[MOD][8/3/2011]Remapped Buttons

Basically, I read some user feedback from Knyghtryda's Camera Mod and came up with this very simple solution. I converted the Power Button to be the camera shutter, which also works for recording and 2.3.4 GB, and does not require a modified camera.apk. The Search Button was converted to function as power on/off. I made these changes by modifying the system/usr/keylayout files.
Honestly, I find this configuration awkward unless I am taking pictures. The search button is my least favorite button and normally only hit it by accident. If this is not an ideal configuration or you can't live without a search function, just give me suggestions.
I'm not a developer or anything, I just like to experiment with my android. If anyone, dev or not, has any suggestions or improvements feel free to comment.
v1.0
Power Button=Camera Shutter, Search Button=Power on/off, No Search Button Function
Issues 8/5/2011
I haven't confirmed this with Gingerbread, only with Froyo: If you remap power button to any other button, it will function as power button but if the screen is asleep and not plugged in for a period of more than about 10 seconds, you have to press original power button followed by the new power button to wake the screen.
I have also tested a few button remapping apps made for other devices, but do not seem to be compatible with Froyo. I will be testing Gingerbread next.
Added Key Configurations
Search Button=Camera Shutter, Power=Default
Credits:
Knyghtryda- idea for the shutter and scripts
Jack$on- idea to relocate power to search button
Installation Instructions
To Change Button Configuration
Run key_remapper.zip or key_remapper_GB.zip for respective firmware version in CWM.
To Return to Default Key Configuration
Run keymap_reset.zip or keymap_reset_GB.zip for respective firmware version in CWM.
DO NOT RUN WRONG VERSION: The files look very similar but I have ran Froyo zip on GB on two occasions and all of the bottom row buttons stop working.
I think making the Search button the default camera button would work better in the long run. Don't like the camera.apk hack.. i end up with a power menu a lot popping up.
Also the power button is just too close to the lens for me.. annoys me.
Is this a configurable mapper?
Just opened the zip.
I see what you did there. I never have gotten around to doing any mods myself yet, cool, can be configured however by changing the lists.
dlang123 said:
Just opened the zip.
I see what you did there. I never have gotten around to doing any mods myself yet, cool, can be configured however by changing the lists.
Click to expand...
Click to collapse
Very simple like I said, some people would be clueless though. Also your idea would work better for me as well.
This is very nice. I hate the power button being on the side of my phone. I feel like I can't use my phone one-handed or have to shift the way I'm holding the phone just to be able to turn the screen on/off.
One quick note... In CWM after installation it says that the power button = search button which is incorrect.
Big thanks! I've been waiting for someone to come up with this!
dlang123 said:
I think making the Search button the default camera button would work better in the long run. Don't like the camera.apk hack.. i end up with a power menu a lot popping up.
Also the power button is just too close to the lens for me.. annoys me.
Is this a configurable mapper?
Click to expand...
Click to collapse
ya I agree. if u just made the search button a camera shortcut key and a camera shutter key im sure alot of people would use it for sure.
Sent from my SCH-I510 using XDA App
PKizzo36 said:
This is very nice. I hate the power button being on the side of my phone. I feel like I can't use my phone one-handed or have to shift the way I'm holding the phone just to be able to turn the screen on/off.
One quick note... In CWM after installation it says that the power button = search button which is incorrect.
Big thanks! I've been waiting for someone to come up with this!
Click to expand...
Click to collapse
Thanks, I see my mistake on the script.
dlang123 said:
I think making the Search button the default camera button would work better in the long run. Don't like the camera.apk hack.. i end up with a power menu a lot popping up.
Also the power button is just too close to the lens for me.. annoys me.
Is this a configurable mapper?
Click to expand...
Click to collapse
Made the Search Button the camera button just for you. I have not tested this on the Froyo build but I do enjoy this configuration better than the other. I have also tested the camera button on the up volume button, but couldn't find a suitable volume up alternative.
sk8tingusmc said:
Made the Search Button the camera button just for you. I have not tested this on the Froyo build but I do enjoy this configuration better than the other. I have also tested the camera button on the up volume button, but couldn't find a suitable volume up alternative.
Click to expand...
Click to collapse
which zip do I download to get the search as camera key?
Sent from my SCH-I510 using XDA App
Can the search key act as a search key normally, except when in camera mode?
kolosok17 said:
Can the search key act as a search key normally, except when in camera mode?
Click to expand...
Click to collapse
I can experiment with it, but not sure.
EDIT: I am not having any luck; I am not saying it is impossible, but it looks like you will have to wait for Knyghtryda to release a modified camera app with with the search button shutter, with the system keymap still set as Search. That may solve your problem! I wish I knew how to make longpress of search do camera and shortpress do search, if it is even possible. I will still look into it, I have just given up for the night.
jkat797 said:
which zip do I download to get the search as camera key?
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
The search_shutter.zip or search_shutter_GB.zip depending what version you are running.
The key mapper seemed to be working at first but I noticed that if my phone sat idle for awhile the search button (now the power button) wouldn't start the phone back up. I would have to use the power button (modded to be the new shutter button) and THEN press the search button to get the screen to come back on.
PKizzo36 said:
The key mapper seemed to be working at first but I noticed that if my phone sat idle for awhile the search button (now the power button) wouldn't start the phone back up. I would have to use the power button (modded to be the new shutter button) and THEN press the search button to get the screen to come back on.
Click to expand...
Click to collapse
Which build are you on? It may have left out the WAKE flag or something. Thanks for letting me know.
Mapping the volume up/down buttons to reflect 'next track' and 'previous track' while the screen is off would be my biggest request.
Can the home button mapped to wake up the phone instead of power? this is my top of the wish list, pretty plzzz
sangweb said:
Can the home button mapped to wake up the phone instead of power? this is my top of the wish list, pretty plzzz
Click to expand...
Click to collapse
That shouldn't be a problem, but I think that I forgot to edit an extra file that effects the bottom row buttons and it seems to be on Froyo builds. I am updating this file to test reliability right now.
sk8tingusmc said:
Which build are you on? It may have left out the WAKE flag or something. Thanks for letting me know.
Click to expand...
Click to collapse
I am on froyo
Sent from my SCH-I510 using XDA App
Please
sk8tingusmc said:
That shouldn't be a problem, but I think that I forgot to edit an extra file that effects the bottom row buttons and it seems to be on Froyo builds. I am updating this file to test reliability right now.
Click to expand...
Click to collapse
I'll be your quality test as guinnea pig if you need one. I know I can use other widget to accomplish this but prefer to avoid 3rd party lock widget because sometime I have to unlock twice. You will be my "God" if you can get it working, Thx.
So I started looking at modding the Camera.apk.. decompiled into byte code.. doesn't look that bad, if I get some time I'll run some diffs on it and the original get what he changed.. and then I'll try to modify it for using the search button. That way search only does Camera if your in Camera.

[Q] Porting CM10 Volume Rocker Music Control to another ROM

Morning everyone,
I've asked something like this before, but never got an answer seeing as, at the time, this device was a fledgling in the custom ROM world. Now that we've got so many different flavors and features, I'll post my query again.
With the CM10 ROM, we can now use our volume rocker as music control when the screen is off. That was a key selling point to me, seeing as its easier for me to just press my pocket than to pull the phone (with Otterbox Defender) and change the track on-screen. One thing that I dislike about it, however, is the broken wi-fi hotspot and tethering, along with a few other things that aren't functioning. I've scoured the interweb trying to find out what files I would need to pull and how to compile them into an existing non-CM ROM so that I could have the full functionality of the ROM with the added bonus of the Volume Rocker Controls.
Would someone be able to point me in the right direction so I could hop on this? I'd think that the community would like a little .zip package to make this function with all ROMs, if it's even doable.
Thanks for reading.
i had tried my hand at this before, but couldnt find a way to remap volume keys to change tracks.. yet.. but what i did was remapped my volume keys to wake the screen when its locked... and let my camera hard key to skip tracks.. its quite handy when u want to just skip to the next track..
it involves compiling and decompiling the android.policy.jar, so if youre interested i can help you out..
also before all this, theres one app which worked fine on my A2, Tactile Player, it can skip songs both ways and also play/pause the songs via the power key.
it works fine, but theres always this icon in the status bar when the app is on.. you can double press the volume keys, up key for next and down key for previous.. its definitely worth trying.. you can find the app in Playstore, i was using the free version..
Edit: The paid version lets you get rid of the status bar notification and also adds a widget to the homescreen to toggle the app on/off.

Power button dead - T/C possible?

Hi all,
So it's a few days the power button seems to be kaput! The phone only wakes up by removing and re-inserting the battery and after the screen turns off there is no way to turn it on again (unless I receive a call for example). So first I thought I'd just replace the power key as I thought it would be just a clip-on circuit but no! it's soldered to the main board.
Right, next thought was to look whether Touch Control / Sweep 2 Wake-Sleep etc. is possible. I've used this feauture on newer Nexus devices so hoped something would be available for poor old I9023 as well. However, bponury's T/C app is not available for Nexus S and I can't seem to find any S2W/S2S kernel either. It's a long time since I was following Nexus S development closely so is there something similar that will allow me to not throw away the phone or am I looking in vain?
Thanks!
Use volume rocker to wake phone and remap the search button for power
Mawtin said:
Use volume rocker to wake phone and remap the search button for power
Click to expand...
Click to collapse
Volume Rocker Wake should be a custom rom's option I suppose? I will look into it.
Regarding remapping search button, I've searched at Play for "button remap" but seems this kind of apps have disappeared! Any link?
mclisme said:
Hi all,
So it's a few days the power button seems to be kaput! The phone only wakes up by removing and re-inserting the battery and after the screen turns off there is no way to turn it on again (unless I receive a call for example). So first I thought I'd just replace the power key as I thought it would be just a clip-on circuit but no! it's soldered to the main board.
Right, next thought was to look whether Touch Control / Sweep 2 Wake-Sleep etc. is possible. I've used this feauture on newer Nexus devices so hoped something would be available for poor old I9023 as well. However, bponury's T/C app is not available for Nexus S and I can't seem to find any S2W/S2S kernel either. It's a long time since I was following Nexus S development closely so is there something similar that will allow me to not throw away the phone or am I looking in vain?
Thanks!
Click to expand...
Click to collapse
This might be sort of an overkill solution....
Install SlimBean 4.2.2 ROM. It has volume rocker wake AND button remapping.
I've been using the ROM since months and haven't used the power button at all.

Categories

Resources