Omeya / a2dpvolume

Automatically exported from code.google.com/p/a2dpvolume
0 stars 0 forks source link

Silent mode when bluetooth connects #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would be nice to put phone in silent mode when connected to bluetooth to 
prevent notification interruptions.

Original issue reported on code.google.com by rbmntho...@gmail.com on 20 Apr 2012 at 2:13

GoogleCodeExporter commented 9 years ago
There are many apps that do things like this.  Smart Actions if you have a 
Motorola device can be downloaded from the web.  While it was packaged only on 
the Razr it has been run on many other Motorola devices.  
https://play.google.com/store/apps/details?id=com.motorola.contextual.smartrules
 and here http://www.droid-life.com/tag/smart-actions/
Another is Tasker: 
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
I think there may be more.  I know, A2DP Volume has sortof become another tool 
similar to these is some ways but I wrote it to be focused on managing the 
Bluetooth connection so I never have to take my phone out of my pocket.  I can 
see the need for your suggested enhancement to achieve that goal.  Need to be 
careful though.  If I put the device in silent mode you will not get phone call 
notifications either.  We can instead mute the notification volume which might 
be better but still I think this request needs some more thought.  I believe 
navigation might use that for turn-by-turn directions (I would need to 
confirm).  Would like to hear more details about your specific use cases where 
you think this would be a good thing to do so I can understand if others would 
also find value in it.  

Original comment by JimR...@gmail.com on 21 Apr 2012 at 3:20

GoogleCodeExporter commented 9 years ago
My phone is the galaxy s2. I use a2dpvolume for car music streaming with
Pandora.
I tested putting my phone in silent mode and the car Bluetooth for phone
still rings.
If I don't enable silent mode and I get a sms or calendar notification, the
music stream
volume lowers during the notification. 

Original comment by rbmntho...@gmail.com on 21 Apr 2012 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by JimR...@gmail.com on 23 Apr 2012 at 2:31

GoogleCodeExporter commented 9 years ago
I think what you really want is to mute notifications, right?  Here are the 
audio modes I have to work with: 
http://developer.android.com/reference/android/media/AudioManager.html
I can create a test app with the notifications muted and let you try it.  I 
presume silent mode may also do about what you want.  I think you are saying 
that you tested it and it did work.  Please confirm.  I am preparing a pretty 
big release which will address this issue and issues 100 through 103.

Original comment by JimR...@gmail.com on 24 Apr 2012 at 12:15

GoogleCodeExporter commented 9 years ago
2.8.0 beta posted to downloads and ready for testing.  Please report any issues 
or confirm proper operation.

Original comment by JimR...@gmail.com on 24 Apr 2012 at 1:44

GoogleCodeExporter commented 9 years ago
Correct. silent mode seemed to be a catch all for what ever app sent a
notification. I did verify that even with silent mode enabled, I would
still receive a phone ring, through the car bluetooth for phone, which is
good. I will test the 2.8.0 beta tonight.

Original comment by rbmntho...@gmail.com on 24 Apr 2012 at 2:34

GoogleCodeExporter commented 9 years ago
Tested the "Silence notifications while connected" and it worked correctly.
After disconnecting from bluetooth, the audiable alert notifications
resumed. One thing I noticed is that the "Set media volume on connect"
setting get's set back to a lower volume after bluetooth disconnect. I had
it set to max and the setting was saved. Not sure if this is a result of my
change request? I wasn't able to test the phone piece yet to make sure I
still received the phone ring over bluetooth. Will test that tonight.

Original comment by rbmntho...@gmail.com on 24 Apr 2012 at 5:11

GoogleCodeExporter commented 9 years ago
Phone ring while connected to Bluetooth still works fine. Only issue I see
is the "set media volume on connect" gets set to the phone setting when the
bluetooth disconnects.

Original comment by rbmntho...@gmail.com on 24 Apr 2012 at 10:42

GoogleCodeExporter commented 9 years ago
Good catch on the volume adjuster bug.  I had called the update function after 
resetting the volume.  Dumb mistake.  I fixed that now and it will be in the 
next release.  Thanks a buch for helping me test!  Let me know if you find 
anything else.

Original comment by JimR...@gmail.com on 24 Apr 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Thanks for putting this option in. This is a great app.

Original comment by rbmntho...@gmail.com on 24 Apr 2012 at 11:29

GoogleCodeExporter commented 9 years ago
I fixed the auto volume feature in 2.8.1, now ready for testing in the 
downloads tab. I also made some fixes for Pandora and Spotify stop feature. 

Original comment by JimR...@gmail.com on 25 Apr 2012 at 2:44

GoogleCodeExporter commented 9 years ago
Fixed with 2.8.5.

Original comment by JimR...@gmail.com on 30 Apr 2012 at 10:12