开发者

How to get the music player status in Android?

Can anyone tell me how to get the status of the music player in Android? I want know whether 开发者_开发问答the music player is paused or playing. Please help me.


MediaPlayer player = new MediaPlayer();
boolean isPlaying = player.isPlaying();

:)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜