aspose file tools*
The moose likes Android and the fly likes Muting any audio which is currently playing. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Muting any audio which is currently playing." Watch "Muting any audio which is currently playing." New topic
Author

Muting any audio which is currently playing.

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi all,

The need is to mute or pause any song or radio playing on android device through an application.
My application basically pop ups the voice reminder on desired time.

So if I am listening some song and voice reminder pop ups. It should mute that song's sound and should play voice notification only.
No other audio should be running at that time.

I do play sometime with AudioManager it wrks little for me. Because it also mutes my voice notification also.

What I did so far is ...



Can anyone tell me where I am going wrong?
 
Don't get me started about those stupid light bulbs.
 
subject: Muting any audio which is currently playing.