Related
Hello all... looking for development ideas / possible solutions for music skip function while phone it turned off in my pocket.
Please read to understand what I'm thinking ;-)
I'm looking for anyone with suggestions to a small problem of mine...
I recently upgraded? to the Nexus S from the Nexus One. My problem is that I use the phone a lot for Music and I was using a custom 2.3.4 ROM that implemented track ball music skip functions on the Nexus One and I really miss them on the Nexus S a lot !
I have the CyanogenMod volume control music skip implemented but I find that when the phone is in my pocket and I try and find the volume controls, I end up pressing the power button accidentally on the opposite side at the same time thus turning on the screen and canceling the music skip functions. I end up fighting with my Nexus S to skip the the next music track or I just end up changing the music volume instead.
--------------
I would like to implement a Tap to Skip function... so when the phone is off and in my pocket I can just tap it two or three times to skip the track.
My plan was to implement the skip function in the PhoneWindowManager and use OnGestureListener for taps...but I guess this is not going to work when the screen is off ??? so the other option is using the Accelerometer to detect the taps but I don't have much of a clue how to do that.
Does anyone have any ideas?
Thank you
Oxygen Rom can skip to next track when holding vol up button and display turned off.
rentaric said:
Oxygen Rom can skip to next track when holding vol up button and display turned off.
Click to expand...
Click to collapse
I am fairly certain you haven't read the post you're replying to.
Get some headphones with track skip buttons/functionality.
Sent from my Nexus S 4G using Tapatalk
Igotsanevo4g said:
Get some headphones with track skip buttons/functionality.
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
Thats an idea but I think a tapp to skip is a lot more universal and convient. Plus I don't think I've ever seen good headphones with this button... and I'm not sure the functionality even exist in Android?
Does anyone even know if it's possible to get GestureDetector.OnDoubleTapListener to detect tapps when the screen is off... I assume no as the touch-sensor will also be powered down.
So I'm looking for ideas to use the accelerometer to detect tapping... I will write some code tonight and see if there is any way within my skill set to do this.
rbrucemtl said:
Thats an idea but I think a tapp to skip is a lot more universal and convient. Plus I don't think I've ever seen good headphones with this button... and I'm not sure the functionality even exist in Android?
Click to expand...
Click to collapse
It does exist, although not all head phones work with it and its kinda finicky. But, hey, its easier than writing code
Sent from my Nexus S 4G using Tapatalk
Part of your problem seems to be mixing up the volume buttons and power button. I find this problem will probably lessen as you get more and more used to the phone. This is a problem I never have due to the difference in feel of the screen and the back of the phone I always know where the volume and power keys are.
I've found the CM volume key controls to be much too slow as they only allow for long press track changing. May I suggest you give PlayerPro a go? PlayerPro is the only music app I've found that allows for lockscreen music controls allowing you to reverse the key taps so that a short press of the volume keys allow for track changing. Albeit, this means that the screen must be turned on for the track skip via volume buttons to work, I personally love this interaction(intended or not). If I simply want to change my volume, I leave my screen off and tap the volume keys. If I'm trying to track change, I simply tap the power button, and then use the volume keys to switch tracks. I then press the power button once more to turn the screen off again.
May seem a bit complicated at first, but I can't imagine listening to music without this function now, it's just too useful. Don't know if that will work for you, but maybe give it a try. For someone like me who shuffles an entire library, often skipping tracks, skipping tracks via long press of volume buttons is WAY too slow. The short press skip track function of PlayerPro is perfect for me though. Maybe it'll work out for you too.
rbrucemtl said:
Does anyone even know if it's possible to get GestureDetector.OnDoubleTapListener to detect tapps when the screen is off... I assume no as the touch-sensor will also be powered down.
So I'm looking for ideas to use the accelerometer to detect tapping... I will write some code tonight and see if there is any way within my skill set to do this.
Click to expand...
Click to collapse
Did you ever tried this : Menu/cyanogen settings/lock screen/delay and timeout/screen timeout delay = 30m screen turned off delay = 30m
you screen should be off but lockscreen doesn't
it may help.
I used to skip track by double tapping the mic button on headphones.. but that was using my vibrant on touch wiz. Don't know if it works on nexus rom
Sent from my Google Nexus S using Tapatalk
There used to be an app on the market, shake to skip, not sure if it is still there?
rbrucemtl said:
Plus I don't think I've ever seen good headphones with this button... and I'm not sure the functionality even exist in Android?
Click to expand...
Click to collapse
The stock HTC headset works reasonably well. Not the loudest, though. Also not very comfortable.
So I guess, it's not really a 'good' headset.
This is a great idea to implement, i can't find any decent android headphones so this would be the next best thing
bringonblink said:
This is a great idea to implement, i can't find any decent android headphones so this would be the next best thing
Click to expand...
Click to collapse
Iphone earphones work the same, there's almost certainly some decent iPhone ones on the market.
bringonblink said:
This is a great idea to implement, i can't find any decent android headphones so this would be the next best thing
Click to expand...
Click to collapse
i got akg headphones best sound I've ever heared plus micro with musix skiping! nice and decent!
Sent from my Nexus S using XDA Premium App
Hi.
I have searched for this problem and haven't found anything useful. When I get a notification from let's say Facebook Messenger, it's either too quiet or doesn't produce a sound at all. After a couple messages get through one after another, it gets louder.
Is there a setting I'm missing?
I've noticed it too. Whats weird is that this happened to my Droid 3. Its annoying. A great example was my alarm this morning. I heard it really lite then it jumped to its correct volume setting. Every, please chime in if you've been noticing this!
Noticed this on alarm. I don't mind ascending volume but it's not ascending volume at all - more like very low and a crescendo to its normal volume.
This is new with Lollipop for me. It happens with all sound. I can even go to the volume settings, and the first time I 'preview' a sound it will do the same thing before it corrects itself (afterwards the previews will then work fine until I pause for a minute and try again.. then same problem).
Bumping this.. becoming a problem. Anyone have a fix or workaround?
In addition to above, I'm also noticing that I have my volume set to max.. but occasionally I'll find it somehow reset itself to "mid" levels.
I don't think this is something that can be turned off or on, most likely it's some kind of bug. Let's just hope it gets fixed soon, it's really annoying
The Motorola forms say it's a safely feature, preventing you from damaging your hearing if it goes off while it's next to you head. It should at least be an option.
Sent from my XT1095 using xda-developers.com, powered by appyet.com
I found that if I use the volume rocker to change the volume it sometimes makes the volume turn off. Instead I go into settings/sound and change the volume from there
Same issue here. Samsungs have this exact same "feature" too, drove me nuts back when I owned one. When I create ringtones, I create them with the intent of getting the impact of the song or melody right in those first few seconds, and "increasing ring" completely ruins it. I installed this app for the Samsung back when it was on either ICS or KK, but sadly it doesn't seem to work with Lollipop. Maybe we can all bug the developer to make it work with Lollipop?
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring&hl=en
I'm rooted, so if anyone knows where to go in the system files to change this, I'd be willing to try it.
Sent from my XT1095 using xda-developers.com, powered by appyet.com
Elsydeon said:
Same issue here. Samsungs have this exact same "feature" too, drove me nuts back when I owned one.
Click to expand...
Click to collapse
I don't think this is an escalating ringtone feature -- I think it's a bug. Possibly it's just really poorly implemented, but I've used escalating volume on ringtones with CM before and compared to that, the volume inconsistencies here are far too sudden and inconsistent. For example, sometimes half my notification is quite (or possibly completely silent?) and sometimes the entire sound comes out at the desired volume.
It also does it for tone it makes when you change the volume (i.e. the first time you click vol up/down, the tone it makes is way too quite, then you have to change the volume a couple of more times to get it play at the correct volume). Hopefully this isn't something they designed on purpose, b/c if it is then that's just a terrible user experience (why would I want the preview of how loud I'm making the volume to come out at the wrong volume?)
piccit said:
I don't think this is an escalating ringtone feature -- I think it's a bug. Possibly it's just really poorly implemented, but I've used escalating volume on ringtones with CM before and compared to that, the volume inconsistencies here are far too sudden and inconsistent. For example, sometimes half my notification is quite (or possibly completely silent?) and sometimes the entire sound comes out at the desired volume.
It also does it for tone it makes when you change the volume (i.e. the first time you click vol up/down, the tone it makes is way too quite, then you have to change the volume a couple of more times to get it play at the correct volume). Hopefully this isn't something they designed on purpose, b/c if it is then that's just a terrible user experience (why would I want the preview of how loud I'm making the volume to come out at the wrong volume?)
Click to expand...
Click to collapse
After using my Moto X for almost a week, I'm starting to see what you're saying, but I'm not sure Motorola would see it as a bug. I've noticed more than once my phone will be sitting right in front of me, and while the screen flashes on for a notification, no sound follows it, even though my notification volume is clearly up. If I go back in and try running manual tests, the notification sound works fine. It's possible that my notification tone (I picked Tejat) is just so short, that the 1-2 seconds it plays for is enough to get lost entirely as part of that initial volume ramp up.
Also have the same issue as you with the initial press of the volume control rocker as well...this issue also seems to extend to any menus that involve picking a sound file to play (like picking a ring tone). Any initial file played will always have its first few seconds lost, and then all sounds will play fine afterwards. If you exit the selection menu and go back in, same thing happens.
My guess is that the initial time an app plays a sound, the first few seconds get lost...following that, it'll play it ok. If you exit the app, it seems like this behavior is reset...which could be where it feels like the volume is inconsistent. But this overall behavior does seem like a permanent escalating ringtone "feature".
This is definitely a "feature" that's coded in the framework. There used to be an xposed module that would take care of this and turn it off. I think it's highly specialized to each individual ROM/device, but you guys that are rooted could try it and see if it makes a difference. I know I will once I get my device.
This is part of the system I think. Because when I get a message notification although is less than one second I can hear it perfectly loud and clear even with the phone "deep sleep", but when I get a call the ringtone always sounds very smooth and after one second goes louder. I think this should be an option and no a " must have"
I have the same problem with ringtones, notifications and in-app sounds, and it all started since I upgraded to Lollipop, so I don't think this is a feature, because it didn't happen on Kitkat. Also, when using Whatsapp and Facebook Messenger I noticed that the internal sounds of these apps are messed up, they sound very very quiet or they don't sound at all.
I think we should go to Motorola forums to let them know about this annoying bug.
krogan said:
I have the same problem with ringtones, notifications and in-app sounds, and it all started since I upgraded to Lollipop, so I don't think this is a feature, because it didn't happen on Kitkat. Also, when using Whatsapp and Facebook Messenger I noticed that the internal sounds of these apps are messed up, they sound very very quiet or they don't sound at all.
I think we should go to Motorola forums to let them know about this annoying bug.
Click to expand...
Click to collapse
Agreed, this has to go up to software issue. I mainly bought the X over a Nexus 5 due to the front facing speakers, it is quite a shame that the one thing I was looking forward to has a flaw on it (at least with the lollipop update).
I've noticed this issue too ever since the Lollipop update. At first I thought I had done something wrong because I couldn't find anyone else reporting the problem, but a buddy of mine said he noticed it too. I don't see how this could possibly be an intended function, as most stock notification sounds are so short that they finish before the "crescendo" actually gets to a high enough volume. It also doesn't happen on a consistent basis. I can get one notification that is perfectly loud start to finish, and the next will start super quiet or be completely inaudible.
Does anybody know if there's a support thread for this with Motorola?
I just opened up a discussion on the Moto support forums for this issue. Hopefully something comes from it.
Workaround!!!
Settings --> Sound & notification --> Audio Effects --> Turn the Equalizer OFF for the speaker.
Worked for me!
FootySr said:
Workaround!!!
Settings --> Sound & notification --> Audio Effects --> Turn the Equalizer OFF for the speaker.
Worked for me!
Click to expand...
Click to collapse
Not for me. ? Mine's been off for some time.
Hey guys, I'm having this bug with Safe Headset Volume Warning.
Now I'm on Titan Prime Rom on Lollipop 5.0.2.
Each time I do a clean install, the first time I use a music player with my headphones (playing music on N7Player) I get the Safe Headset Warning. It asks me if I want to override the Safe Headset Setting. I press cancel, and it's gone forever. You can't make it appear anymore. It doesn't even work, because the headphones go up to the maximum volume.
I need the Safe Headset Volume warning because it's very important to me. I have tinnitus and it's essential so I can't screw my ears more than they are now.
I searched and searched didn't see anywhere on the net something related to this bug in Lollipop.
I tried making it appear with KK GravityBox, but unsurprisingly won't work
Can anyone help me with this?
The Safe Headset is just a warning that appears when you try to get above 80% volume while wearing a headset. It does not do anything else. So you can just drop the volume to 80% or less if you have problems and you will be ok.
demothon said:
The Safe Headset is just a warning that appears when you try to get above 80% volume while wearing a headset. It does not do anything else. So you can just drop the volume to 80% or less if you have problems and you will be ok.
Click to expand...
Click to collapse
In kitkat, when you had the phone asleep (screen off) you couldn't maximize the volume past the tolerable limit even if using the volume buttons.
Now I can use them to maximize the volume even while screen is off or on, and I get to the max of the possible output. I don't know what it's the problem but in past iterations of Android this wouldn't occur.
*BUMP*
Finally someone with the same problem. On Kitkat the warning was my safe to go headphone volume. Even when I disabled it, the next day it came back and everything was fine.
After updating to 5.0 it came up but disappeard after another vol+ click.
Please let there be a fix to get it back and don't allow to disable it with screen off!!
sAlkInk said:
*BUMP*
Finally someone with the same problem. On Kitkat the warning was my safe to go headphone volume. Even when I disabled it, the next day it came back and everything was fine.
After updating to 5.0 it came up but disappeard after another vol+ click.
Please let there be a fix to get it back and don't allow to disable it with screen off!!
Click to expand...
Click to collapse
Oh, I was starting to think I was the only one with this problem.
Weird thing is I don't see this bug anywhere posted in the net.
What ROM are you using?
I'll link this thread to the official Titan Prime ROM too.
Same problem, i'm on stock btw. It gave the warning, i pressed vol+ again and it was gone forever. Like WTF? Why need a warning when you can just press vol+ and it's gone. I really need it back
I installed Gravity Box for Lollipop and checked Safe Headset Volume but it still doesn't work. Can you try it yourself?
oscillat0r.lfo said:
Hey guys, I'm having this bug with Safe Headset Volume Warning.
Now I'm on Titan Prime Rom on Lollipop 5.0.2.
Each time I do a clean install, the first time I use a music player with my headphones (playing music on N7Player) I get the Safe Headset Warning. It asks me if I want to override the Safe Headset Setting. I press cancel, and it's gone forever. You can't make it appear anymore. It doesn't even work, because the headphones go up to the maximum volume.
I need the Safe Headset Volume warning because it's very important to me. I have tinnitus and it's essential so I can't screw my ears more than they are now.
I searched and searched didn't see anywhere on the net something related to this bug in Lollipop.
I tried making it appear with KK GravityBox, but unsurprisingly won't work
Can anyone help me with this?
Click to expand...
Click to collapse
I don't know if it works on Lollipop as well, but you can try using Viper4Android (advanced audio tweaking app), and reduce output gain. I know this is not a fix, but it's the best I can come up with.
Hello!
I've recently got myself the OnePlus 3T, which I'm pretty satisfied with.
After some time I noticed that my 3-Button Earphones don't work like they used to. I can still play/stop and lower/raise the volume with the different Buttons, but I'm not able to skip a song when holding the + button for a longer time (Same with the - Button)
I've searched through pretty much the whole settings and couldn't find anything.
Before the 3T I had the OnePlus One with CyanogenMod. Maybe this feature just isn't available in OxygenOS?
Anyone have an idea on how to fix or implement this feature?
ThePhantom132 said:
Hello!
I've recently got myself the OnePlus 3T, which I'm pretty satisfied with.
After some time I noticed that my 3-Button Earphones don't work like they used to. I can still play/stop and lower/raise the volume with the different Buttons, but I'm not able to skip a song when holding the + button for a longer time (Same with the - Button)
I've searched through pretty much the whole settings and couldn't find anything.
Before the 3T I had the OnePlus One with CyanogenMod. Maybe this feature just isn't available in OxygenOS?
Anyone have an idea on how to fix or implement this feature?
Click to expand...
Click to collapse
Mine is working as expected.
One pres start/stop: pause or play,
Double pres: Next song,
Triple pres: Previous song,
+ Volume up,
- Volume down.
I am using PowerAmp app for playing music.
Regards
They are working correctly, in stock android you need to press the play/stop button twice to get to the next song, and three times for the previous song. If you have xposed and gravitybox, you can have that volume key long pressing feature too.
G4B33 said:
They are working correctly, in stock android you need to press the play/stop button twice to get to the next song, and three times for the previous song. If you have xposed and gravitybox, you can have that volume key long pressing feature too.
Click to expand...
Click to collapse
serafko said:
Mine is working as expected.
One pres start/stop: pause or play,
Double pres: Next song,
Triple pres: Previous song,
+ Volume up,
- Volume down.
I am using PowerAmp app for playing music.
Regards
Click to expand...
Click to collapse
Those were both working. Seems like this was something specifically with either CM or the OnePlus One. I'll take a look at GravityBox as soon as Xposed releases for Android Nougat.
Thanks for the help!
Dear users of Pixel 7, moderators and audience.
I have recently moved from a different Android device onto the newly Pixel 7 recently and I have noticed that my headset has a lower volume at maximum output from the Pixel 7 compare to my older devices.
Is this normal or is there a way to maximise the volume coming from the Pixel 7?
I'm fine with bluetooth audio on my P7, no difference comparing to my previous P6Pro or any other phone I owed.
Only in rare cases - noisy environment, low volume of original audio/video source - I use Volume Booster GOODEV https://play.google.com/store/apps/details?id=com.goodev.volume.booster.
Be careful, putting slider too far to the right will hurt your ears
d1xenotime said:
Dear users of Pixel 7, moderators and audience.
I have recently moved from a different Android device onto the newly Pixel 7 recently and I have noticed that my headset has a lower volume at maximum output from the Pixel 7 compare to my older devices.
Is this normal or is there a way to maximise the volume coming from the Pixel 7?
Click to expand...
Click to collapse
Try disabling absolute volume and see if that helps...
Developer Options>Disable absolute volume>Enable
Lughnasadh said:
Try disabling absolute volume and see if that helps...
Developer Options>Disable absolute volume>Enable
Click to expand...
Click to collapse
Hi Lugh! I tried this feature, it did help boost the audio, but losses control of the slide when pressing on the Bluetooth device.
In short, when I have "Developer Options>Disable absolute volume>Enable", my AfterShokz AS800 (headphone) has volume control. When I press them, the volume bar is not changing on the UI of Pixel 7, but I can definitely hear it going louder in the device.
In short, even if I slide the UI to 100%, I can basically boost another +100% which is a little strange... Any idea if this is a bug? Any idea how to submit bugs and glitches to Google?
d1xenotime said:
Hi Lugh! I tried this feature, it did help boost the audio, but losses control of the slide when pressing on the Bluetooth device.
In short, when I have "Developer Options>Disable absolute volume>Enable", my AfterShokz AS800 (headphone) has volume control. When I press them, the volume bar is not changing on the UI of Pixel 7, but I can definitely hear it going louder in the device.
In short, even if I slide the UI to 100%, I can basically boost another +100% which is a little strange... Any idea if this is a bug? Any idea how to submit bugs and glitches to Google?
Click to expand...
Click to collapse
When I disable absolute volume, I do two things:
1. Turn the Bluetooth volume level on the phone to maximum.
2. Control the volume from your Bluetooth device.
Otherwise it goofs my volume levels for my headset and car.
Also I use the magisk module JamesDSP so I can modify the output volume, effects, etc.
Mostly for the built in speakers. They're either too loud or too quiet. At night, I reduce the post-gain, so that media etc doesn't bug people around me.
Hope this helps