Suggestion: Camera Button - Galaxy S II General

I think it could be very useful if there was a physical camera button on the SGS2, but since it doesn't have one, i figured maybe we can "create it"...
How about turning you power off button into a camera button while using the camera?
What i'm suggesting is to build an application that can solve this problem.
If anyone thinks he can develop an app for that, i'm sure it would help us all

tototomer1 said:
I think it could be very useful if there was a physical camera button on the SGS2, but since it doesn't have one, i figured maybe we can "create it"...
How about turning you power off button into a camera button while using the camera?
What i'm suggesting is to build an application that can solve this problem.
If anyone thinks he can develop an app for that, i'm sure it would help us all
Click to expand...
Click to collapse
How about turning you power off button into a camera button while using the camera?
Search its been done ,forget where or what or who .
Was on SGS1 and SGS2 .
jje

tototomer1 said:
I think it could be very useful if there was a physical camera button on the SGS2, but since it doesn't have one, i figured maybe we can "create it"...
How about turning you power off button into a camera button while using the camera?
What i'm suggesting is to build an application that can solve this problem.
If anyone thinks he can develop an app for that, i'm sure it would help us all
Click to expand...
Click to collapse
On my old phone (T-mobile pulse) I made a mod to change what the keys did by editing a file called surfkey.kl (or something similar) in /system/usr/keylayout
Ive just had a look on the GSII and the equivilant files are called sec_key.kl and sec_touchkey.kl (the former controlls the hard keys and the later the capacitive keys)
In the file sec_key.kl on the the keys mapped is key 212 (not sure what this is, but can find out in recovery mode) which is mapped to camera, suggesting that there is a camera button in some form on this device.
If not, it shoudl be the simple case of finding one of the keys you done use, the changing it to Camera.
Aaron
Edit: So ive had a look in recovery and cannot find key 212. Seems that most of the keys that are mapped in this file are not actually there.

I'm not a developer...

CyanogenMod 7 has configurable camera button to e.g. a volume key. I'm personally going to use CM7 when it's out so not worried about that.

i have remapped "vollume down" as camera key... but i have lost the "volume down" feature. ..... it´s really hard to find the related key in the camera-app itself.

Related

camera button

For some reason if i want to push the camera button to activate the camera,it wont allow it.Well it does nothing.But if i goto the camera application itself,then it works when pressed.The keys are not locked on the side either.Anyone have anysuggestions or advice on what the problem maybe?
southernint3l said:
For some reason if i want to push the camera button to activate the camera,it wont allow it.Well it does nothing.But if i goto the camera application itself,then it works when pressed.The keys are not locked on the side either.Anyone have anysuggestions or advice on what the problem maybe?
Click to expand...
Click to collapse
make sure you push hard on the camera button, there is two steps to it, make sure you press it all the way through
Yeah bit tricky and supprising, i thought i'll found 2 steps button for camera only on my digicam, but my athena have it to... great isn't it?
I have to push my camera button really firmly before it opens the camera.
You may have already done this but check the mapping for the button. Voice Command likes to take this button for itself.
got it!
Hey thanks!That worked!I thought that it was just me.The buttons were mapped correctly(meaning that they were not re-mapped)A firm press brings the camera up after a 1 second delay.The only thing that i was wondering,why was there no ms voice command included?I have the application(Since i kept all the applications that i had when i owned the JJ).Like i said,thank you for the quick response time and help!

Mapping Power button

Hi peeps !
Searched all over the forum, but couldn't find the answer.
Is there a way to assign a function to the Power On/Off button other than to turn the Athena on / off ?
I typically, for instance, would like to bind the "DisplaySwitch" psShutXP shortcut to the Power Button so that when i press it, it doesn't turn the Athena off but only the screen.
Additionnaly, if one knows how to assign a sequence of actions to the Power Button (like "locking the device + switching screen on / off"), that'd be great.
Thanks guys !
Turning off only the screen is the default action for the power button...
There is an app that many on here use (I can't think of the name) which lets you reassign most of the buttons on the Athena, including the OK and Windows button, to many different functions. You can also hack the registry to reassign the camera/comm/browser buttons if the standard reassignments that Windows Mobile gives you aren't enough - but really odd things like locking + screen off may require you to also write your own small app first.
Hi there, thank you for your answer.
Actually, the Power button must do something more than just flicking the screen off, like scaling the CPU down, spinning out the microdrive, flushing a bunch of buffers, etc.
I'm asking because of a problem I posted about in the forum (here: http://forum.xda-developers.com/showthread.php?t=353456), about my Athena being strangely slow, and its CPU being 80% used by nothing that I can see or find, when I wake it up using the Power button.
I'm trying to see if I can circumvent the problem if I can't manage to find its source and solve it, in fact.
I used AEButtons Plus, which works pretty well with ALL buttons but the Power one, and I couldn't find a reference to it in the registry either.
Thanks for your time !
Yup, that's the app I was thinking of. I don't use it so I couldn't think of the name. Sorry to hear of your slowdown problems, I've been monitoring that thread. I agree that it sounds like a hardware problem at this point.
You need DevieLock.cab. It can be set to switch off the screen and lock the device. It can by mapped to any button but Power on/off though.
Thanks man, gonna look it up right away !

Camera button

Hey Guys,
is there any way to for instance chance the button with which you take pics on the HD, I have been taking pictures in the normal way but prefer to use the side buttons or another button on the bottom.
Help is greatly appreciated,
Thanks
Agreed ... is there any software that could do this. Heard software such as AE button could reconfig the buttons but cld these be done for the HD, would be really useful and less awkward then the touch screen in my opinion
sgt_sidz said:
Agreed ... is there any software that could do this. Heard software such as AE button could reconfig the buttons but cld these be done for the HD, would be really useful and less awkward then the touch screen in my opinion
Click to expand...
Click to collapse
Hmmm - I have AEButton Plus and I have not previously played with the camera and this button mapper.
I have the volume buttons mapped. BUT, in the camera application it seems that AEB+ is no longer able to trap the volume buttons. It looks like HTC have switched off the volume buttons in the camera application.
When I exit from the camera then the AEB+ mapping works fine.
so it is not possible to reassign other buttons to this purpose? too bad, thanks for the help and please let me know if you find anything!
actually it is possible to reassign volume up to Enter (with aebplus/aebutton plus) and use it in the touch hd camera app. Well... at least it used to work for me for some weeks. Now I have exactly the same problem and don't know what could have changed.
Strange thing is: When I unmap volume up in aebplus, do a soft reset, remap the button (with some luck) I can take exactly one picture - afterwards it is simply ignored.
really strange behaviour but it shows that there IS a way to keep the camera app from grabbing keys...
I did it Application released soon!
http://www.scilor.com/leocameraanykey.html

anyone knows how to make bigger/better camera shutter button?

we know HTC Touch Pro2 has an on screen shutter button, do you find it difficult when you try to take photo of yourself?because you cant see the small on screen shutter button.
Do anyone know a tweak/altenative solution for this tiny shutter button?
make it bigger,or better yet,simply make it this way: the whole screen is the shutter button, you can take pictures by clicking anywhere of the screen.
I searched several hours without a thing,it seems that I am the first person who wants this.
Solution
The on screen button pissed me off too. Most particularly because I also turned off the shutter sound, so I would be holding the part of the screen thinking it took the picture...to turn the phone around and discover it only focused the image.
Install the keyboard controller for the rhodium, choose to add a key, press the PTT key "if you already have it mapped to something, don't worry. I also have apps mapped to the same button". When in the map config, click the [+] next to Rule. pull out the stylus, click the windows button, go to your camera, and stick the stylus back in. Below "Rule name" the window should say "IACSP20_Main" without the quotes. Choose "Direct key mapping", then select key "13 Enter" for the key. Finally send the key to the operating system.
What this does is: while you're in the camera window and push the PTT key, that key is pushing the enter key. It acts the same as the onscreen shutter button, as in, you have to hold the button. BUT, its a lot easier to find and easier to hold the phone when pushing the button. Good luck with your mapping.
zyphuris55 said:
The on screen button pissed me off too. Most particularly because I also turned off the shutter sound, so I would be holding the part of the screen thinking it took the picture...to turn the phone around and discover it only focused the image.
Install the keyboard controller for the rhodium, choose to add a key, press the PTT key "if you already have it mapped to something, don't worry. I also have apps mapped to the same button". When in the map config, click the [+] next to Rule. pull out the stylus, click the windows button, go to your camera, and stick the stylus back in. Below "Rule name" the window should say "IACSP20_Main" without the quotes. Choose "Direct key mapping", then select key "13 Enter" for the key. Finally send the key to the operating system.
What this does is: while you're in the camera window and push the PTT key, that key is pushing the enter key. It acts the same as the onscreen shutter button, as in, you have to hold the button. BUT, its a lot easier to find and easier to hold the phone when pushing the button. Good luck with your mapping.
Click to expand...
Click to collapse
Hey,thanks for your reply,so detailed,I am touched.
I tried your method,it works!
New Leo Energy Rom - this method is no longer working - camera just touch focuses - but does not "capture" - picture - any more advice?
same problem here
livealoha50 said:
New Leo Energy Rom - this method is no longer working - camera just touch focuses - but does not "capture" - picture - any more advice?
Click to expand...
Click to collapse
i had it mapped to the ptt the same way on nrg cht 4/16. i didnt even have to hold the button in fact, i just pressed it and it would take a picture. now the ptt button wont take a picture at all for me.
just go to the settings and click on advanced and see if touch focus is actually on, because if its turned off then it would just focus but not take a picture.
and that solution of yours to map it to the PTT button doesnt work for everyone (like me) because some of us dont got that button, but reguardless if it works for you then thats good too
Google Rhodium keyboard controller or look for it here at xda and even in this forum. BEST software. You can map ANY button to ANY key while still maintaining the keys natural function like pressing home goes to home, and holding hole for 2 seconds opens camera, and holding vol up or down can be enter which, in camera mode, takes a picture .
lilchicano said:
just go to the settings and click on advanced and see if touch focus is actually on, because if its turned off then it would just focus but not take a picture.
and that solution of yours to map it to the PTT button doesnt work for everyone (like me) because some of us dont got that button, but reguardless if it works for you then thats good too
Click to expand...
Click to collapse
the touch focus has no effect for me. regardless whether its on or off, my ptt button wont take a pic. im gonna mess around with the rhod kb controller a bit, maybe i did something wrong there. if not, im gonna have to mess about in the registry and see what can be done there.
Edit: I fixed it. It wasnt something I did wrong w/ rhod kb controller. Went into hklm/software/htc/camera and its subfolders and changed 5 or 6 things in there, some to fix the prob and some were just changed to suit my preferences. I gotta go to work shortly, but at about 2:30 this morning I'll be able to write down all the registry changes I made and post them in this thread. Now when I press the ptt within camera, it autofocuses and then takes the pic without having to hold the button, which is nice I have CleanRam mapped to ptt long press.
well i had it working perfect yesterday when i posted, but then i booted into android for a few hours while at work, and when i went back to windows, the camera went back to doing the stupid focus and then no picture crap again. so today i went back thru everything i had messed with and tried every combination of settings i could think of, and couldnt get it to work right again.
Do you use the Rhodium Keyboard Controller to remap your hardware buttons? If so, I can give you how I setup my buttons to take pictures and such?
Yeah thats what I used with the 4/16 cht nrg rom, when mapped to open program windows/start menu/multimedia/camera.ink by single press, it would open the camera and if I pressed it again, it would take a photo. I am still using the rhodium keyboard controller, tried setting double tap to 13 and that didnt take a pic, tried pointing it at windows/camera.exe and that didnt work, thats when i went into the registry. between the keyboard controller and registry editng, i had it opening the camera and taking photos both with single press of the ptt button. i then booted android later that day cause its easier for texting while im at work. later back to windows, and the ptt would open camera but not shoot. i dont understand how changes to the registry could work to make it work like that but not survive a reset? i went back iand messed around in the registry tryin different combinations of stuff, and couldnt get the ptt to snap a shot again. possibly theres something different in camera.exe from rom to rom?
Just make one of your hardware buttons the enter button. Enter focuses and takes the picture. I make my volume keys both the enter button. Also good when using them in total commander too .
i had made my ptt = enter upon double tap and it wouldnt work, neither would the hw qwerty button. i know what ur talking about, i have always set my ptt to take pictures, even on my original tilt, usually open program - camera.ink will open camera and also take pic, but for me neither enter nor open program will work for me. its gotta be either a reg entry that i just didnt get right, or the actual camera.exe is different from build to build, which i find believable because i remember switching albums on my original tilt and to do it i would also hv to switch camera.exe's also. which reminds me, is it me or does the tp2's photo album absolutely suck? on my tilt, i could zoom down way closer, and the album was gesture driven. draw a circle w/ur finger one way would zoom in, other way zoom out, etc. love the phone, hate the picture album
Ah weird... enter should work :/...
Yeah... what happened to the gesture thing? Guess they want to "try" and make the pointless zoombar serve some sort of function even though I never use it.
I use S2V and map the dble tap send key as up, and dble tap end key as down. I've always like S2V but just wish A_C would update it.
livealoha50 said:
New Leo Energy Rom - this method is no longer working - camera just touch focuses - but does not "capture" - picture - any more advice?
Click to expand...
Click to collapse
I used to do this when the pro 2 first came out and this always worked but for the last 4 months this has stoped working and it sucks cause i loved having this option. I have tried asking for help from NRG's irc chat room and they banned me for asking lol, i even tried asking in his thread several times and ppl tell me it works fine for them, but it just dont work for me. it always worked before but i flashed to a new NRG rom update and it just stopped working, cant remember when it worked last, but i do miss it!!! This option works fine on ALL other roms but NRG's
lilchicano said:
just go to the settings and click on advanced and see if touch focus is actually on, because if its turned off then it would just focus but not take a picture.
and that solution of yours to map it to the PTT button doesnt work for everyone (like me) because some of us dont got that button, but reguardless if it works for you then thats good too
Click to expand...
Click to collapse
I used to be able to pick any hardware button to make this work, i use the vol up key myself!!
Thanks zyphuris55!
enter key doesn't work for me either.
A plausible reason for the "Enter" workaround working for some people could be the use of different camera drivers.
With the HD2, the early camera drivers allowed a photo light (using the LEDs) to be used when taking a picture in the dark. However, the recent camera drivers no longer allow photo lights, and the user is dependent on a simple flash upon taking a photo.
I know that NRG and other chefs use different camera drivers (they sometimes post it in their changelogs), so this could be why some are able to use "Enter" to take photos while others can't.
If it is indeed driver-related, you can't do anything about it, as these drivers are cooked into the ROMs (cabs and reg tweaks have no effects).
P.S. At least the TP2 has a lot of buttons that can be remapped! The HD2 can only have the Send (Hold) function be remapped!

Remapping capactive buttons - returning home.

Ok so I have this SW related problem (ROM on my sig), where home button not always works. If i hold power button until the power screen appears, i can close it and then home buton works OK for anoter lets say 15mins only, so its quite annoying.
How can map return home action for lets say holding down search key? The problem is neither about button itself (works perfect n other ROMS) nor launcher (when killing foreground app phone returns to the homescreen)
I know i can do it from screen with button savior but it's by far not as practical as using capactive buttons and it's not what I'am looking for.
Other than that the ROM is very close to perfect, so changing it is not an option
Hard keys
-SmOgER said:
Ok so I have this SW related problem (ROM on my sig), where home button not always works. If i hold power button until the power screen appears, i can close it and then home buton works OK for anoter lets say 15mins only, so its quite annoying.
How can map return home action for lets say holding down search key? The problem is neither about button itself (works perfect n other ROMS) nor launcher (when killing foreground app phone returns to the homescreen)
I know i can do it from screen with button savior but it's by far not as practical as using capactive buttons and it's not what I'am looking for.
Other than that the ROM is very close to perfect, so changing it is not an option
Click to expand...
Click to collapse
I think, must check, that Jellybean lets you do that?
Well, even if it does, I'am running MIUI on ICS.
CM10 and codefireX nightlies (and JellyTime too maybe, I haven't tried) have that working. There's a CM feature in settings called 'Hardware keys' where you can assign different functions to all keys for short press and long press. Though bliind's MIUI is based on CM, it doesn't have the option.
Sent from my Desire HD using xda premium
I see...
is there any way of getting similiar sw on other roms?
btw i'am running the official 2.9.7 MIUI based on ICS straight from miui.com, not bliind's custom build.
I remember there was some app for that.
I think it's called button remapper, and it does just that. It's in a beta version, but I used it with success. It is ROOT, but you already have that.
If you can't find it then I'd be willing to pull the .apk from a backup and give it to you.
xxkid123 said:
I remember there was some app for that.
I think it's called button remapper, and it does just that. It's in a beta version, but I used it with success. It is ROOT, but you already have that.
If you can't find it then I'd be willing to pull the .apk from a backup and give it to you.
Click to expand...
Click to collapse
Well, this app was capable of mapping short press, but it turned out mapping different keys didn't solve the problem. I guess without official update there is not much can be done... Thanks anyway.
can not be! clerical error

Categories

Resources