Stop all media player rinning in my android device

谁说我不能喝 提交于 2019-12-13 08:05:32

问题


I'll like to stopping all media player in my android device programmatically. Someone can help me.


回答1:


You should use Service to play MediaPlayer and control from anywhere in application.
I used this tutorial and I succeeded.
https://thenewcircle.com/s/post/60/servicesdemo_using_android_services



来源:https://stackoverflow.com/questions/21239419/stop-all-media-player-rinning-in-my-android-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!