如何判断股票的android媒体播放器正在运行 [英] How to tell if stock android media player is running
本文介绍了如何判断股票的android媒体播放器正在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发展我的第一个Android应用程序,我想知道是否有一种方法,如果股票的Android音乐播放器正在运行,我可以告诉。
I'm developing my first android app, and I am wondering if there is a way that I can tell if the stock android music player is running.
我想必须有一个类型isRunning()的布尔它或东西..
I am thinking there has to be a type of isRunning() boolean for it or something..
感谢
推荐答案
AudioManager。的 isMusicActive()?
AudioManager.isMusicActive()?
这篇关于如何判断股票的android媒体播放器正在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文