Issue
I play Flash in a webview. Is it possible to mute the animation sound?
My activity could also play music files, so I set:
this.setVolumeControlStream(AudioManager.STREAM_MUSIC);
Is it somehow related?
Solution
If you want to mute the sound of any stream of your device, use
public void setStreamMute (int streamType, boolean state)
Example :
myAudioManager.setStreamMute(AudioManager.STREAM_MUSIC, true);
Answered By - Alexis C.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.