I am developing an android media player application. I want to mute all media applications and just my player plays a sound. But i didn't find any way to solve my problem.
Could you please give me the solution?
You can't. Apps that behave nicely should pause their playback when they lose audio focus - but they're not required to do so.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.