General :: Android Volume Change Listener
Aug 20, 2011
Is there any way to listen for volume changes with an android service and react to that?how do the google music app allow the user to control the media volume even when the music is playing in the background?
View 2 Replies
Jul 5, 2010
Is it possible to register a listener to listen for changes in the volume level of the music stream in Android?
I'm displaying the actual volume in a SeekBar and I would like to change the seekbar if the user changes the volume with the hardware volume keys. At the moment the correct volume is displayed until the user changes the volume with hardware keys.
View 1 Replies
View Related
Oct 12, 2010
On one page of my app there are sounds. Is there a line of code to allow the volume up/down buttons to switch to media volume control for that page of the app only? Or do I need to set it for the entire app, and how do I do that?
View 4 Replies
View Related
Sep 6, 2010
I'm looking for a way to detect a cursor position changed in an EditText.I couldn't find anything in the documentation so far. Has anyone solved this already?
View 1 Replies
View Related
Dec 5, 2012
Change Volume on a per App basis.
Sometimes it is annoying, that all Media Apps like Games, Music and such, have the same volume. Therefore, a tweak that lets you preset a certain volume for an App, would be a perfect solution.
The Volume Rocker would then act as a MainMix instead of a master level.
View 2 Replies
View Related
May 31, 2010
I've written an app with 3 tabs. Each tab has the same list view with different data sources. I have setup SharedPreferences in the tabhost activity, but I put my onSharedPreferenceChangeListener method in my listactivity. When I change a preference, my listener gets called and it updates my database. This is all working. However, if I change the data in tab 1, it calls my listener once. If I change the data for tab 2 it calls it twice and if I change the data in tab 3 it calls it three times. Any idea why it works this way? I guess I could setup my shared prefs in my listactivity and that might avoid the issue, but I'm curious why my listener is called multiple times if it's in a different tab.
View 1 Replies
View Related
Nov 27, 2011
I know in a Sense ROM you can replace the system/media/audio/ui/Volume-1 through Volume-7 sound files and was wondering if I can do something like this with a AOSP ROM like CM7. Is this possible at all? Even if I had to look into building my own CM7 from source I'd like to give it a try.
View 2 Replies
View Related
Aug 19, 2013
Is there anyway to hide the volume change bar faster.
Every time I press the Volume rocker, the volume change bar keeps on the screen for five seconds. In my opinion are two seconds enough.
View 2 Replies
View Related
Aug 28, 2012
I have a GS3, and i really like the software so i don't want to install CM10 or 9 just to get this feature. I'm currently using poweramp. is there anyways i can change songs with the volume buttons?
View 3 Replies
View Related
Sep 23, 2013
my phone is Samsung Galaxy Mini which is a ldpi device which now runs on an ICS rom. I am trying to change the color for the brightness sliders and volume sliders. Which .xml need to be edited to change the colour..
I decompiled framework-res.apk and changed hex color values under @id/ progress and @id/secondary progress in "progress_horizontal.xml", also changed colors of few pngs in drawable-mdpi in framework,now the progress seek bar has changed the color,but brightness slider color remains the same.
I then decompiled systemui.apk and changed the hex color values under @id/progress in "adi_seekbar.xml",but nothing got changed..
Which .xml is associated with the seek bar for brightness and volume slider? Or should i deal with smali files to change the color of brighntness slider and volume slider..
View 9 Replies
View Related
Nov 25, 2013
I can't seem to get my ring volume setting to stay. I change it [lower than the maximum] and eventually it rings at it's highest level. What am I not doing to keep it at my setting?
View 4 Replies
View Related
Apr 6, 2014
The volume buttons/rocker on my phone does not allow me to change to media only. If no media is playing it only changes the ringer volume.
Imagine this setting, in my car I have volume all the way up, I get out of car and put on headphones, volume is too loud. I ether play music to where my ears bust or I go into settings and change the volume there. When I try to turn it down immediately, it changes the ringer until I let that volume display disappear. Which means I'm stuck listening to it too loud until I let it disappear to where I can change the media volume.
My little rant is over, how do I force the volume buttons to only be media!
View 14 Replies
View Related
Jan 11, 2012
how change the volume bar color and the lockscreen clock font, so it looks the same as ICS. I'm using CM7. What to do (what I use to ''open'' and close'' the needed files, what to change, what possible files to change, etc), because my knowledge isn't good at this.
View 9 Replies
View Related
Jan 23, 2014
I am new to android and i had owned a sony walkman mobile the feature which enabled me to change the songs with volume rocker long press...is missing on android...currently i own a sony xperia sp and running stock rom and stock firmware..how to root the mobile or mess around with the software..all i know is to download apks and install them...so developing apk which enables users to change songs with long press of volume rocker?..and as i mentioned above i do not have a rooted mobile so is there any way i can find or instal an apk to change songs with the volume rocker without rooting and custom roms?
View 2 Replies
View Related
Jul 14, 2012
I tried the mod for other set models like galaxy s 2 but they put my phone into bootloops.
View 1 Replies
View Related
Jan 23, 2012
I'm ultimately looking for a way to play/pause and skip music without turning on the screen. I had an HTC Hero a while back running CM7 RC, and I had a few options for this. Holding the volume rocker up or down skipped the song forward and backwards respectively, and when I had a headset in, the Mic button could also have these functions. A single press would play/pause, or answer a call (depending on phone state), double tap would skip the song, and a long press would activate voice search.
I now have the Epic 4G, and none of these functions work anymore. The volume rocker just changes the volume, and the mic button only answers calls, or activates voice dialing, and even then, the screen has to be on and unlocked. I find this of mild annoyance. I haven't found any obvious way to change these settings.
Basically, I want to know how do I change the function of hardware keys? Specifically, the mic button on a wired headset and the volume rockers for music functions.
View 9 Replies
View Related
Sep 6, 2010
I listen to alot of music and i HATE having to wake it up and everything to adjust the volume. I'm used to an iPod where you can adjust while its locked. I was wondering if they'res some way to make this option available with android. I'm using a Motorola A555 with android 1.6. Is there some type of app or a simple code change to make this possible? I want it to be for media but if it would know when to do media or ringer that would be great.
View 6 Replies
View Related
Oct 19, 2009
I love locale, however I don't see a way to change the media volume. I have a work profile and it shuts off wifi, turns my ringer off, etc. I would also like to turn the media volume off so that if I play a game or start an app with music it won't disturb others. Anyone know if this is possible?
View 2 Replies
View Related
May 21, 2014
Recently purchased the Virgin Mobile Supreme (Sprint Vital, ZTE N9810). The one thing that is bothering me is that there is only one volume setting for the combined ringtone and notifications. I would like to set these volumes separately.
I tried one volume control tool, but even though it had 'separate' controls changing ringtone changed notification and vice versa.
View 2 Replies
View Related
Nov 14, 2010
Can i change the media volume? and how? I used this so far:
setVolumeControlStream(AudioManager.STREAM_MUSIC);
But have a seekbar and want to change the media volume not ringervol.
So can someone show me how to just change the media volume at onCreate() and i fix the seekbar later.
View 2 Replies
View Related
Aug 1, 2010
Is there a way to change the percentage that the volume goes up by for media? While I am at work the lowest setting is too soft and the next one up is too loud and I cant hear whats going on around me.I know its most likely my headphones but if there is a way to do this that would help.
View 5 Replies
View Related
Sep 25, 2011
I'm writing a small application and having a bit of trouble setting the alarm volume. I've tried a couple of different methods, but neither actually seem to change the alarm volume.
My goal, is to mute all alarms under certain conditions. I have no issue checking the conditions, just actually changing the volume. I'm currently using the AudioManager class to make the changes .
setStreamVolume(int streamType, int index, int flags)
using STREAM_ALARM for the streamType. Using FLAG_SHOW_UI, it displays a toast showing that the volume was set properly, but if and alarm goes off, it still plays at full volume.I also tried
setStreamMute(int streamType, boolean state)
but again, the alarms go off as if nothing changed.
EDIT: I tested the same method with the media volume and it works perfectly. This leads me to believe the setting is being applied just as it should, but alarms simply aren't obeying the setting. This may have something to do with the fact that each alarm has it's own volume control. Still trying to find a way to mute them.
View 1 Replies
View Related
Jul 9, 2010
I am using seek bar to control volume of the device. I am able to change the volume of the device using thumb of the seek bar just by dragging it on touch pad. But when user presses volume(side) keys I need to set seek bar thumb position accordingly.
View 1 Replies
View Related
Nov 1, 2010
I have noticed that when I have my headphones plugged in (but not in my ears) and the phone rings, the ring tone comes out of both (the phone and the headphones, which is fine) but it is not as loud out of the phone as when the headphones out not plugged in. If I pull the headphones out while its ringing the phone starts ringing almost twice as loud. Anyone know how I can make sure the phone will ring at full volume for those times when I forget to take my headphones out and put everything in pocket?
View 2 Replies
View Related
Apr 14, 2010
When the phone is sleep why can't u change the volume without unlocking the screen u know there should be a way to adjust the volume while the phone is locked.
View 2 Replies
View Related
Aug 3, 2010
One of the things I find annoying about the Captivate is the separate volumes for rings and notifications. When I lower the volume with the volume rocker switch, it only lowers the ring volume. Is there a way to set a global volume so that changing the volume changes ALL volumes together?
View 6 Replies
View Related
Jan 14, 2010
Has anyone found a way to automatically change the volume settings when plugged into the media dock? I hate getting notifications of every email while I am asleep but I still need to get phone calls and text messages for work. On my Blackberry I could change my preset volume settings by pushing one button. So far on the Droid I have not figured it out yet.
View 4 Replies
View Related
Sep 22, 2010
I can't seem to change alerts and ringer volume seperately using Audiomanager pro. Whilst at work i want to hear my txt message sounds (alerts) but not my ringtone, and i want the phone to vibrate with both still. However when moving the ringtone and/or alert slider the other one moves too, they can't seem to move seperately. Am i doing something wrong or does this app not do that, and if so, is there an ap that does?
View 3 Replies
View Related
Sep 4, 2010
I recently bought a sony ericsson xperia x10 mini pro. When I set an alarm, the volume is quite high. I would like to lower this volume, however, I can't. There is no volume function in the alarm menu; I also tried to lower or switch off the other volumes, but the alarm volume remains the same...
Does anyone know how to change the alarm volume? It would make me wake up happy.
View 2 Replies
View Related
Jul 6, 2010
After a (brief) look around here, I have a couple of questions. Is it possible to change tracks by long pressing the volume keys?
It seems this is possible on the nexus one. How would I (can I?) put this on my desire.
Would I have to root to get it to work or is it something that is/might come with 2.2?
View 1 Replies
View Related