I've been searching for a mod to allow the volume rocker to pause and resume media while the screen is off. Many roms have borrowed the "volume rocker to skip tracks" feature from cyanogenmod, but I rarely skip backwards and I would rather have a hard key option to pause/resume without having to turn on the the screen.
Also, I don't want to totally remap the volume keys, just edit the long-press function while the screen is off.
Any help would be greatly appreciated.
Sent from my Galaxy Nexus using Tapatalk 2
Quickly searching, I couldn't find anything like that other than remapping, but I did find this music player app. It does use the typical Volume rocker skip forward and back.
But if you read the description, you can use the power button double press to pause and double press to start the music , and you can edit the options of that function slightly.
https://play.google.com/store/apps/details?id=com.purelogicapps.android.tactileplayerfree
It appears to run a service and isn't an actual music player in itself. You simply activate it, and then the functions apply to your music player. I can attest that the pause and skip FW and BK function works with AudioGalaxy. I don't use any other players but I may install and try a few with it.
It may be a battery drain, but that is to be determined.
Thanks... I hadn't seen that app before so I gave it a try. It uses double presses of the hard keys for media controls. Unfortunately it has a few drawbacks.
First, while you can use the power button to pause while the screen is off, it turns on the screen. Second, the the volume controls become a bit unruly and it tends to skip tracks when trying to change volume. I think this app would benefit from using long presses instead of multiple presses.
Sent from my Galaxy Nexus using Tapatalk 2
That is a good point. Perhaps you should send that to the dev. Or if you know how to make your own apps........
After having messed with it since I found it, although some might find it useful, I agree with you on the long press vs double tap, and I would think having it running would just add memory demand and battery usage. As well its another thing to turn on and off.
Maybe you can try tasker.
Swiftkey'ed on my CM9 Galaxy Nexus
+1 for Tasker. Forgot about it.
Should be able to get it to function as desired. It is a tricky app to learn, be forewarned, but it can do amazing things once you start to figure it out.
Tasker is really cool and I've tried it on several occasions for this issue but I couldn't find a way to program long presses.
I thought there may be a simple way to edit the cyanogenmod "long press to skip back" into a pause/resume function (like a simple text edit) but I've had no luck. Wish I was a programmer...
Sent from my Galaxy Nexus using Tapatalk 2
Related
I just saw a guide in the Hero forum that allows you to remap keys so you can choose their functions. Is this possible on the EVO? I know the file being pulled/edited would be named differently but can the buttons be altered?
http://forum.xda-developers.com/showthread.php?t=695936
+1, would love to find out as well... i did find an app on marketplace that mapped search key longpress to launch itself so hw (actually sw) key mapping is definetely possible
What would you possibly remap them to do tho?...we only have 3 hard keys.
Longpress search key - toggle vibrate OR launch quick volume/brightness manager. Then, when music app is playing and screen is off/locked - up plays/pauses track, down plays next track, up longpress - rewind, down longpress - fastforward. Turning on/unlocking the phone un-maps the keys and i change the volume with same keys... Will remove the need to turn on lcd and the need to look at the cell while listening to music.
frifox said:
Longpress search key - toggle vibrate OR launch quick volume/brightness manager. Then, when music app is playing and screen is off/locked - up plays/pauses track, down plays next track, up longpress - rewind, down longpress - fastforward. Turning on/unlocking the phone un-maps the keys and i change the volume with same keys... Will remove the need to turn on lcd and the need to look at the cell while listening to music.
Click to expand...
Click to collapse
All nice ideas. Let me know if you ever see something for EVO key mapping.
Id also like a way to do this.. I dont like the lock button location.. when using one handed, I always end up hitting the volume.. or hitting search.. probably because I was used to the lock button on the hero.
It is possible.... here is how!
I first realized how much I wanted to remap keys after I used a cyanogen rom a while back. He had an option that would allow you to let the power key end a call when pressed. This was awesome because I hate ending calls by touching the screen because sometimes I press it twice and accidentally redial and so on... Anyway, I've switched to a million different roms since and this option is not present on any of them. I knew there was a way but figured it was far too difficult. It isn't...
I followed the tutorial from the hero forums using the link in the first post. The file that you need to edit is in the same place that the hero file is in but it's called supersonic-keypad.kl instead. I edited it right on my phone using root explorer... But I'm sure you can use other methods. For my simple edit I changed the second line. I deleted the word power and replaced it with ENDCALL
... I recommend reading the tutorial carefully and making a copy of the file before making any changes just incase. I am going to remap a couple other things now... But that was my main concern. After editing it... Save and then reboot your phone to let the changes take effect...
I hope this helps!
if your ever playing any games and you accidently hit home or any other button then you know what im talking about. since the buttons are touch sensitive you may get some accidental clicks. i wish there was a way you could lock the bottom row of buttons, not sure if its possible though. maybe by combining two of the physical buttons (such as volume up and down) we could lock the bottom row until we need to use those keys again and then we could unlock in a similar fashion. is there anyway possible someone could develop this?
+1 for this. I like the idea of it being toggled with volume buttons, or maybe long pressing the power button and adding it to that menu. It would have to be included in a rom though, you cant give that power to just any app. or you'll never be able to close it without rebooting.
every time i watch a video a hit the search button by mistake. i really wish someone would do this. also it would be better if you hold volume up and power buttons.
Ya I actually just had it happen again with gvba. Note: it really sucks if you accidently hit the back button. Lock please!
Sent from my PC36100 using XDA App
The "click" that follows each volume pressing drives my wife crazy, especially at night. Of coarse there is an option to get rid of the woman, but before taking such drastic measure, maybe the experienced folks here have an alternate idea??
The click should only happen when changing ringer volume, and i don't see why you would need to change it that much...
imo, it would be easier just to use the silent/vibrate/volume widget, since ringer volume is usually none or max...
314 said:
The click should only happen when changing ringer volume, and i don't see why you would need to change it that much...
imo, it would be easier just to use the silent/vibrate/volume widget, since ringer volume is usually none or max...
Click to expand...
Click to collapse
Thank you for your reply.
Well, basically you are right. However, in order to avoid the difficulty to press the power button (awfully located) , I am using the "Fix Broken Power Button" app. That requires the use of the volume keys as a substitute to the power switch. Now, each "waking up" the DHD is accompanied with a loud "click", the one whicj I am trying to eliminate.
Thank you for your attention.
Maybe much better to change your wife? )))
Sent from my Desire HD using XDA App
Try a different app, there shouldn't be a sound when unlocking to the lock screen instead of skipping it
CM7 has options to unlock to the lock screen or skip it, and skipping it makes a sound
I promise - I watched the video and searched the hell out of this before posting...
can you change the wake phone function from the power button to, say, the volume keys and/or the home soft button?
thanks in advance. please don't slaughter me if this is posted elsewhere!
hobakill said:
I promise - I watched the video and searched the hell out of this before posting...
can you change the wake phone function from the power button to, say, the volume keys and/or the home soft button?
thanks in advance. please don't slaughter me if this is posted elsewhere!
Click to expand...
Click to collapse
Idk where it is at in the samsung devices but usually you can change the key layout by editing user-key layout you can also remap the search button to any app.
Killbynature said:
Idk where it is at in the samsung devices but usually you can change the key layout by editing user-key layout you can also remap the search button to any app.
Click to expand...
Click to collapse
i can see how that would be useful but i couldn't find it and moreover, i think when the phone goes into sleep-mode, those soft keys are disabled. i guess i am looking for a way to either wake the phone with the volume keys - or - somehow enable those soft buttons so i can hit the home one and wake up my phone.
hobakill said:
i can see how that would be useful but i couldn't find it and moreover, i think when the phone goes into sleep-mode, those soft keys are disabled. i guess i am looking for a way to either wake the phone with the volume keys - or - somehow enable those soft buttons so i can hit the home one and wake up my phone.
Click to expand...
Click to collapse
You would have to give the keys a set wake option. I can do it for htc devices but i don't know much about samsung devices. You would want a volume rocker wake I'm guessing or menu and back wake right. You can also use an app called widget locker it enables you to wake the device from volume rocker etc.
thanks again for the thoughts.
i think i'll patiently wait a few weeks for people smarter than me to start writing apps specific to this phone.
have a great day!
I think this will come in handy since some of us don't want to wear out the power button but be able to use both. The only problem I might see using the volume button is when you are listening to something with your headphones. Would pressing the volume button be changing the volume or waking the phone? hahaha..i'm sure there will be options.
The latest version of Juggernaut has that as an option, if you're into flashing custom roms.
Sent from my SGH-T989 using xda premium
skadude66 said:
The latest version of Juggernaut has that as an option, if you're into flashing custom roms.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
+1
That is correct, Juggernaut 2.6 has this feature and flashing is pretty simple.
i use this option on Juggernaut too. its great cuz i cant always reach the power button even tho i have huge hands.
which ROM except Juggernaut has this option, I mean waking phone up by sound button?
Darkside's Dewizzed does. and it's a GREAT rom.
I actually hate the 'feature'. I listen to music lots with my phone, and having to double tap the volume rocker to adjust volume sucks, and then it turns on the screen. Since half the time it's in my pocket and i'm pushing buttons through that... long story short i've pocket texted a couple times.
/rant.
Yes, and you can do this without rooting and without installing a custom rom by using the application widget locker, which has an option to wake the phone using the volume keys. Otherwise several roms support this such as the Darkside Dewizzed rom.
Epic bump, but Josh from mobile tech videos gave my phone a solution like this when my phone had an internal shortage. He set the volume+ button as the wake button and it did involve the key layout as someone in this thread had said earlier. Ill be back with a link to an xda thread that had the same idea but for a different device.
I bump this because even though he changed the button layout, I completely forgot about it and flashed a different rom :S now I seek a solution.
samsung s 2 wake up without power button
hobakill said:
thanks again for the thoughts.
i think i'll patiently wait a few weeks for people smarter than me to start writing apps specific to this phone.
have a great day!
Click to expand...
Click to collapse
you can download an app like dragon and enable wake up phrase and set lock screen to none the wake up phrase you choose will wake up device so you can access apps with your voice
galaxyst said:
which ROM except Juggernaut has this option, I mean waking phone up by sound button?
Click to expand...
Click to collapse
ParanoidAndroid also has this function. I already had my power button fail once and had to replace it I now have the option of using the volume buttons or power button to wake the phone.
Android is notorious--at least in my opinion--for having nowhere near enough granularity in the volume control. With only fifteen steps in the Media volume, music is often either thunderously loud or far too quiet, with no happy medium.
Sure, I did what most folks do and used MusicFX/DSPManager equalizer to boost volume across the board slightly, but while it gives me a decent volume for most of my music, it doesn't solve the problem, it just bandaids it. Each volume increment is too great a leap.
I did notice that a Nexus S ROM, AOSP+, had this mod at one point and I was wondering if it was possible to make a universal CWM-flashable zip that would enable a Galaxy Nexus running an AOSP ROM to gain the benefit of having more granularity in the volume control.
I'm also wondering why the hell Google thought only 15 steps was a good idea...
I'd like this too.
It's not just Android, I find many phones and mp3 players don't provide enough steps in volume.
You can change the amount of incall volume steps by altering "ro.config.vc_call_vol_steps=" in the build.prop to whatever you want (not tried this in ICS though, it might be different), but I don't think changing the amount of system volume steps would be that easy, it would probably have to done from source.
Meltus said:
You can change the amount of incall volume steps by altering "ro.config.vc_call_vol_steps=" in the build.prop to whatever you want (not tried this in ICS though, it might be different), but I don't think changing the amount of system volume steps would be that easy, it would probably have to done from source.
Click to expand...
Click to collapse
It's the number of steps in the Media volume I want to change. In-call volume needs to be turned up all the way in order for me to hear it, anyway.
Check here:
http://forum.xda-developers.com/showthread.php?t=1411317
Use that myself, and it works fine.
However in our roms it's called array_9.
tristan202 said:
Check here:
http://forum.xda-developers.com/showthread.php?t=1411317
Use that myself, and it works fine.
However in our roms it's called array_9.
Click to expand...
Click to collapse
Would this potentially break the screen-off volume controls to skip tracks? I'm game to give it a shot myself later on, but it'd be nice to know if it interferes with any other mods.
This is exactly what I want (for AOKP ROM hehe). I was at the gym listening to Google Music with headphones and kept going between two volume levels..one was too loud and the other too quiet, no perfect medium. Such a stupid thing of Google to overlook.
Or we need voodoo
Sent from my Galaxy Nexus using Tapatalk
synaesthetic said:
Would this potentially break the screen-off volume controls to skip tracks? I'm game to give it a shot myself later on, but it'd be nice to know if it interferes with any other mods.
Click to expand...
Click to collapse
No, it doesn't affect the volume rocker track skip.
Sent from my Galaxy Nexus using xda premium
I've modded the framework.jar file but I haven't actually put it in yet, because I've noticed something else that's rather odd. My GN will more often than not bump up two volume notches every time I press the volume key!
I'm not really sure what's going on here. Maybe I need to reboot, but when I press up or down on the volume rocker, about 80% of the time it moves by two steps rather than just one.
Edit: Applied the modified framework.jar. No problems so far, but my volume key still seems to skip two steps (though now the steps are half the size) after the first press. There's a pattern to it. The first press of the key will only increment once, but all subsequent presses in the same direction will increment twice. So if you have the volume set at 15/30 and press up once, it'll go to 16/30, but if you press again, it'll go to 18/30 instead of 17/30, and continue to go up by two every time until you press Volume Down. Pressing Volume Down at 18/30 will reduce it to 17/30, but then any subsequent Volume Down presses will decrement by two.
This is annoying, though it does seem to explain why I was fairly easily able to find a happy median volume on my Nexus S with 15 volume steps, but never quite was able to on the GN without a lot of ****ery. Because when I'm pressing the damn volume keys, it's not always only incrementing by one! >.<
Though now with the 30-step volume applied, the "skip two" effect is basically nullified. Still, I'd like it to work properly.
synaesthetic said:
I've modded the framework.jar file but I haven't actually put it in yet, because I've noticed something else that's rather odd. My GN will more often than not bump up two volume notches every time I press the volume key!
I'm not really sure what's going on here. Maybe I need to reboot, but when I press up or down on the volume rocker, about 80% of the time it moves by two steps rather than just one.
Edit: Applied the modified framework.jar. No problems so far, but my volume key still seems to skip two steps (though now the steps are half the size) after the first press. There's a pattern to it. The first press of the key will only increment once, but all subsequent presses in the same direction will increment twice. So if you have the volume set at 15/30 and press up once, it'll go to 16/30, but if you press again, it'll go to 18/30 instead of 17/30, and continue to go up by two every time until you press Volume Down. Pressing Volume Down at 18/30 will reduce it to 17/30, but then any subsequent Volume Down presses will decrement by two.
This is annoying, though it does seem to explain why I was fairly easily able to find a happy median volume on my Nexus S with 15 volume steps, but never quite was able to on the GN without a lot of ****ery. Because when I'm pressing the damn volume keys, it's not always only incrementing by one! >.<
Though now with the 30-step volume applied, the "skip two" effect is basically nullified. Still, I'd like it to work properly.
Click to expand...
Click to collapse
I will try and look into it later today when I get home. I will take a look at the source and see if any other values control the increments.
Sent from my Galaxy Nexus using xda premium
tristan202 said:
I will try and look into it later today when I get home. I will take a look at the source and see if any other values control the increments.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Just wanted to let you know that before you start plowing through a lot of code, the "skip a step" volume key bug is related to a mod included in the ROM I'm using, the mod that allows you to skip tracks by long-pressing the volume key while the screen is off.
Disabling that functionality immediately restored the volume keys to normal.
synaesthetic said:
Just wanted to let you know that before you start plowing through a lot of code, the "skip a step" volume key bug is related to a mod included in the ROM I'm using, the mod that allows you to skip tracks by long-pressing the volume key while the screen is off.
Disabling that functionality immediately restored the volume keys to normal.
Click to expand...
Click to collapse
Nice to know. Took a look at the AudioService.java file yesterday, but couldn't find anything that could explain the behaviour.