make camera button skip track? - Android Software/Hacking General [Developers Only]

i want to try and make a app or somthing where when the screen is off and you half push the camera button it pauses the song but if you completely push it skips to next song. any help would be great.
thanks!
Sent from my Droid using the XDA mobile application powered by Tapatalk

anyone?
?????????

I'm also trying to figure out how to remap a key for something, and just found this post:
http://forum.xda-developers.com/showthread.php?t=551344
May help you in some way.

seems a lot harder than it needs to be using that.
Sent from my Droid using the XDA mobile application powered by Tapatalk

ska8r411 said:
seems a lot harder than it needs to be using that.
Click to expand...
Click to collapse
Ha, at least you can do it modifying a simple file! It looks like I'm going to have to write some C code and maybe compile my own kernel to get done what I want done:
http://forum.xda-developers.com/showthread.php?t=659904
Good luck!

Related

Deleted!

Every screenshot app seems to work correctly. When I go into the gallery I see LG boot logo with the blue progress bar under it as the screenshot. Every app does this! Tried shootme,drocap2, couple more. Has anyone experienced this?
Edit: interesting maybe I should read the manual. Still kinda weird that those apps don't work.
Sent from my LG-P999 using Tapatalk
I believe someone mentioned power + home takes screenshots. Apparently it is in the manual that no one reads.
Sent from my SGH-T959 using XDA App
kangxi said:
I believe someone mentioned power + home takes screenshots. Apparently it is in the manual that no one reads.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I'll be damned that work pretty sweet thanks for that tidbit
Appreciate it!!
Sent from my LG-P999 using Tapatalk
kangxi said:
I believe someone mentioned power + home takes screenshots. Apparently it is in the manual that no one reads.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Wow! Thanks for the tidbit! LOL, I should start reading the manual like I used to!
thanks! Great info and i should start reading the manual cause now they're starting to include stuff that you actually need to know lol

search button key

Here's a flashable zip to change your search button to shut screen off
For those that needs it and the lazy bastards that don't want to do it manually.
Nifty, I never use the search key so this may prove useful.
Perfect. I never use that button as well... Wonder if that button can be mapped to wake up screen as well??
That would be awesome but I think once the screen is off so does the soft keys as its an extension of the screen itself power wise atleast.
Screen on you can edit the soft keys to whatever you want
Screen off you're basically touching the screen when its off I.e nothing happens
It would be a different scenario if its a hard key
Has anyone flashed this yet? I never got around to it while I was on GB and it's not working on ICS. I don't want to declare that it doesn't work at all if it's only some difference with ICS or something with the alpha.
Sent from my LG-P999 using xda premium
niceee
Enviado desde mi LG-P999 usando Tapatalk
Its not been tested with ics yet as I'm still on cm7 latest nightly 221 but ics probably have a different location of where the keyboard layout are but if you can edit it and use this same script making sure to edit where the files is flash to you have my permission lol.
Thanks for the zip for the search button key. I love being a lazy bastard.
Sent from my LG-P999 using xda premium
I'm very lazy, is there a way were can make a zip so we can change the search key to multitasking in ics sammich? I'm sure a lot of people would like that because holding home takes too long lol. Thanks
Sent from my LG-P999 using xda premium
moeahmad1995 said:
I'm very lazy, is there a way were can make a zip so we can change the search key to multitasking in ics sammich? I'm sure a lot of people would like that because holding home takes too long lol. Thanks
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I think that's more into rom building and macros
mecha2012 said:
I think that's more into rom building and macros
Click to expand...
Click to collapse
Ohh ok, not using ics right now but maybe this will help?
http://forum.xda-developers.com/show....php?t=1450138
It may, when I get home from work I plan to try to reverse engineer both mods and see if any of it makes sense to me and can modify the search button for screen off. So long as they can be opened in a text editor I should be able to figure something out.
Sent from my LG-P999 using xda premium
Волк said:
It may, when I get home from work I plan to try to reverse engineer both mods and see if any of it makes sense to me and can modify the search button for screen off. So long as they can be opened in a text editor I should be able to figure something out.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
The zip for the search button mod, modify the actual buttons mapped out to specific numbers when its pressed for example for default the search button is 217 followed by 2 functions specified to it in /system/usr/keylayout/qwerty.kl
So when that button is pressed it is the value of 217 referencing what's defined in that file and yes its you can edit it with any editor.
Cool, thanks. I mostly follow what you're saying, but I'm better if I see it or have an exact example.
Волк said:
Cool, thanks. I mostly follow what you're saying, but I'm better if I see it or have an exact example.
Click to expand...
Click to collapse
Just extract the files and go to the qwerty.kl and open it in notepad.
Yea, I'm on the bus home right now.
Sent from my LG-P999 using xda premium

Nexus S 3g search button problem.

I'm having the worst trouble with my nexus S's search button triggering all the time. Sometimes it seems that its just being overly sensitive like my finger brushes along the bottom of the phone while I type / hold the phone. And the button activates.
Its horribly irritating its pretty well documented as an old issue but I would like to possibly start this topic here on xda. Someone mentioned a software fix for it triggering by itself in some legacy version of android. But if there is anyone who has a fix please let me know I've had to exit the search bar about 10x while writing this.
Sent from my Nexus S using XDA
Disable touch capacitive buttons (http://forum.xda-developers.com/showthread.php?t=1554111&page=6) and install a rom with on screen buttons (Cyborg or aokp)...use kernal with bln to take off the lights
I did this to fix the auto back button firing
Sent from my Nexus S using Tapatalk 2
I wonder what causes it I mean if its just open the phone up and clean it or something I don't really have a problem with it.
Could you possibly paste a recent link to the rom if that's not too much to ask.
Also did you ever manage to figure out why it was happening?
Sent from my Nexus S using XDA
Its in the general forum aokp b38
Some people say its a software-hardware problem...some people send it off for screen replacement and it fixed it...but I didn't want to send it so I just mod it like this and its working awesome
Sent from my Nexus S using Tapatalk 2
OK awesome I really don't want to have to send it because I like the amoled screen. There is a forum post that says there is a fix in one of the ota updates don't know what it was exactly though I'll try and find it and report back.
Sent from my Nexus S using XDA
I've tried that...does not work
Its the gingerbread radio
Sent from my Nexus S using Tapatalk 2
Try this and remap the button....
Button remapper:http://db.tt/FvaH4Wvu
Also install this if needed Keynrtracker: http://db.tt/r6ht9PyT
To steal ideas from one person is plagiarism. To steal from many is research.
w8setter said:
Try this and remap the button....
Button remapper:http://db.tt/FvaH4Wvu
Also install this if needed Keynrtracker: http://db.tt/r6ht9PyT
To steal ideas from one person is plagiarism. To steal from many is research.
Click to expand...
Click to collapse
I'll try this first since I'm trying to stick with my hsdpa uncaoped radio with the matr1x kernel and the crossbones rom and voodoo sound and video.
------------------
Edit: it would appear that the first file "key remapper " worked great and all I needed was root no losing screen space or flashing a new rom. I just remapped key 217 (search key) to the camera focus function. Which shouldn't bother me too much.
Sent from my Nexus S using XDA
chamunks said:
I'll try this first since I'm trying to stick with my hsdpa uncaoped radio with the matr1x kernel and the crossbones rom and voodoo sound and video.
------------------
Edit: it would appear that the first file "key remapper " worked great and all I needed was root no losing screen space or flashing a new rom. I just remapped key 217 (search key) to the camera focus function. Which shouldn't bother me too much.
Sent from my Nexus S using XDA
Click to expand...
Click to collapse
GLAD TO HELP...
Sent from my Nexus S 4G using Tapatalk 2

Link notification and ringer

I've searched and tried several apps to link ringer and notification. I love TouchWiz, but this is the ONE thing that pushes me to a CM ROM. I don't want to have to open an app each time i want to change both options. I came from an Optimus V and a Thunderbolt after. Both were able to link Ringer/Notification volumes.
So, does anybody know if a "fix" has been round or at least a workaround?
Nobody even has a suggestion? i know somebody here has got to know something :fingers-crossed:
MrHyde03 said:
Nobody even has a suggestion? i know somebody here has got to know something :fingers-crossed:
Click to expand...
Click to collapse
Im getting that phone will volume control+ work
Im running that app on my bolt now
Sent from my ADR6400L using xda premium
Apps allow linking the two but only if you change the volume from within the app. If you use the volume rocker the two stay unlinked. I'm looking for a way to permanently link the two to allow use of the volume rocker.
MrHyde03 said:
Apps allow linking the two but only if you change the volume from within the app. If you use the volume rocker the two stay unlinked. I'm looking for a way to permanently link the two to allow use of the volume rocker.
Click to expand...
Click to collapse
Volume control+ says you can link
Sent from my SCH-I535 using xda premium
Im just dealing
Sent from my SCH-I535 using xda premium
MrHyde03 said:
Apps allow linking the two but only if you change the volume from within the app. If you use the volume rocker the two stay unlinked. I'm looking for a way to permanently link the two to allow use of the volume rocker.
Click to expand...
Click to collapse
We'll pretend that other guy isn't here, since he's not helping you or me out.
I've brought this up before, I loved it on my X2 and hate that on this. Wonder if anyone who knows how to mod could make a mod for this.
Elite49 said:
We'll pretend that other guy isn't here, since he's not helping you or me out.
I've brought this up before, I loved it on my X2 and hate that on this. Wonder if anyone who knows how to mod could make a mod for this.
Click to expand...
Click to collapse
I just got the s3 so im stumbling thru it
Sent from my SCH-I535 using xda premium
Im looking too i might send catlog to the volume control plus dev.
Sent from my SCH-I535 using xda premium
All on when bluetooth on, my work around is to select silent on ringer and notification
Sent from my SCH-I535 using xda premium
FINALLY
This app solves the problem! Credits to the developer, can't thank him enough bcos it was such a pain to find something that works for this simple problem...
https://play.google.com/store/apps/details?id=cz.marextafl.mx.simplevolume
Sent from my GT-N7100 using xda premium

Control the volume buttons?

Hi! I'm not sure where to put this, but I think it's an app I'm after so I'll make a try here.
Is there any way, like an app, to control the volume buttons? I change the volume accidently all the time, actually I rarely ever want to change it since this is a wifi only version and I I find the system sounds just disturbing. So turning them off completely would be nice, and I've searched for a app to do this but no luck yet.. A small widget to replace the power button sure ain't hard to find so it must be possible.
Thanks in advance!
Sent from my GT-N8010 using xda app-developers app
Axel_ said:
Hi! I'm not sure where to put this, but I think it's an app I'm after so I'll make a try here.
Is there any way, like an app, to control the volume buttons? I change the volume accidently all the time, actually I rarely ever want to change it since this is a wifi only version and I I find the system sounds just disturbing. So turning them off completely would be nice, and I've searched for a app to do this but no luck yet.. A small widget to replace the power button sure ain't hard to find so it must be possible.
Thanks in advance!
Sent from my GT-N8010 using xda app-developers app
Click to expand...
Click to collapse
the Q&A section would have been the place to ask a question. But I don't know of any app for that. Never wanted needed something like that. I don't know how you change it on accident.
Sent from my SGH-T989 using xda app-developers app
Axel_ said:
Hi! I'm not sure where to put this, but I think it's an app I'm after so I'll make a try here.
Is there any way, like an app, to control the volume buttons? I change the volume accidently all the time, actually I rarely ever want to change it since this is a wifi only version and I I find the system sounds just disturbing. So turning them off completely would be nice, and I've searched for a app to do this but no luck yet.. A small widget to replace the power button sure ain't hard to find so it must be possible.
Thanks in advance!
Sent from my GT-N8010 using xda app-developers app
Click to expand...
Click to collapse
I use an app call "Volume in Notification" to change my volume.. u could use that
txtmikhail said:
I use an app call "Volume in Notification" to change my volume.. u could use that
Click to expand...
Click to collapse
As far as I can tell that's just an app to change the volume in the status bar. It doesn't seems to turn off the hardware buttons, or is it?
Sent from my GT-N8010 using xda app-developers app
Axel_ said:
As far as I can tell that's just an app to change the volume in the status bar. It doesn't seems to turn off the hardware buttons, or is it?
Sent from my GT-N8010 using xda app-developers app
Click to expand...
Click to collapse
For hardward buttons(System Sounds) Go into settings>>Sound>>Volume>>System
txtmikhail said:
For hardward buttons(System Sounds) Go into settings>>Sound>>Volume>>System
Click to expand...
Click to collapse
I have no idea what you mean but there ain't a way to turn off the buttons in the settings as far as I can see. And that's my problem, I know how to change the volume without using the buttons, there's even apps for that like the one linked above. But I've not found any to turn off the buttons, preferably all the time except for when it change the media volume but it's not the end of the world if I have to do that manually in the device as well..
Sent from my GT-N8010 using xda app-developers app
Mr. bird said:
the Q&A section would have been the place to ask a question. But I don't know of any app for that. Never wanted needed something like that. I don't know how you change it on accident.
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Congrats you helped this person exactIy 0%....
1.He stated he didnt know if he had placed his post in the right section ,he didnt ask where he should have placed it.
2.Why reply at all with an abscence of an answer, ie: "But I dont know of any app for that" .If everyone who didnt know of an "app for that" posted,the post would be 4,000 pages long....just stay on the sidelines.
3.OP didnt ask what YOU wanted/needed..."Never wanted needed something like that"
4.Your thinly veiled condemnation of his misfingering his device (accidentally adjusting the volume) is completely uncalled for.
MODS: My apologies if I am out of line.
OP: I would think a mod rather than an app might be what you seek.Apps being more device universal.Try the Themes section.Lotta mods there.
"All I have is my WORD and my BALLS and I aint breaking niether for NOBODY" - Tony Montana
Like what Jonathanpeyton said.. You need a Mod not an App to disable hardware buttons.. Sorry i misunderstood u earlier..
Jonathanpeyton said:
Congrats you helped this person exactIy 0%....
1.He stated he didnt know if he had placed his post in the right section ,he didnt ask where he should have placed it.
2.Why reply at all with an abscence of an answer, ie: "But I dont know of any app for that" .If everyone who didnt know of an "app for that" posted,the post would be 4,000 pages long....just stay on the sidelines.
3.OP didnt ask what YOU wanted/needed..."Never wanted needed something like that"
4.Your thinly veiled condemnation of his misfingering his device (accidentally adjusting the volume) is completely uncalled for.
MODS: My apologies if I am out of line.
OP: I would think a mod rather than an app might be what you seek.Apps being more device universal.Try the Themes section.Lotta mods there.
"All I have is my WORD and my BALLS and I aint breaking niether for NOBODY" - Tony Montana
Click to expand...
Click to collapse
Well I suppose it's good to know next time how to think when posting a new thread, I use different forums all the time but I'm not used to this "is it a question, post it in Q&A no matter the topic". To me every thread should be posted in the section that best describes the subject no matter if it's a question or not but that's obviously not the case here.
txtmikhail said:
Like what Jonathanpeyton said.. You need a Mod not an App to disable hardware buttons.. Sorry i misunderstood u earlier..
Click to expand...
Click to collapse
Hmm, I was worried about that but since there seems to be an app for everything now I thought there might be that for this as well. I know that I'm not the only one with this problem, and besides many with me think that the buttons are turned upside down when you use the device on portrait mode like I do now. If I have it turned with camera facing to the right seen from the screen side volume up is down and if I rotate it 180 degrees I can't hold and it while typing without accidently pressing the buttons.
Actually I think the button to adjust the system sounds is useless on a wifi-only device, but that's a different story. So to get back to topic, I suppose this mod can't be done without rooting the device first?
Sent from my GT-N8010 using xda app-developers app
There's an app called volume locker which locks your volume unless you confirm any changes due to pressing buttons.
Sent from my GT-N8000 using xda app-developers app
Jasonchewy91 said:
There's an app called volume locker which locks your volume unless you confirm any changes due to pressing buttons.
Sent from my GT-N8000 using xda app-developers app
Click to expand...
Click to collapse
Thanks, this will do the trick! It may not be just what I was looking for but it sure is better than nothing.
Sent from my GT-N8010 using xda app-developers app

Categories

Resources