What about the AudioManager's isMusicActive? http://developer.android.com/reference/android/media/AudioManager.html#isMusicActive()
On Oct 24, 11:42 am, Studio LFP <studio....@gmail.com> wrote: > You can't use MediaPlayer.isPlaying() as a static method as it is an > instanced method. You can have the MediaPlayer instance you create/use be in > a static variable and work with it from there. > > Steven > Studio LFPhttp://www.studio-lfp.com > > > > > > > > On Monday, October 24, 2011 9:38:39 AM UTC-5, Sunil Mishra wrote: > > > Can i use MediaPlayer as a static object? > > > On Oct 24, 6:57 pm, Jeremy Dagorn <jeremy...@gmail.com> wrote: > > > Hi, > > > >http://developer.android.com/reference/android/media/MediaPlayer.html... > > > > MediaPlayer.isPlaying()? > > > > On Oct 24, 9:23 am, Sunil Mishra <sunilj...@gmail.com> wrote: > > > > > Hi, > > > > > Is there any api through which we can figure out whether media player > > > > is currently playing any media or not? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en