Hi,
MediaPlayer player=new MediaPlayer();
if(player.isPlaying())
{
....
}
isplaying method returns true if currently song is playing else false.
On Tue, Jun 21, 2011 at 3:44 AM, Kacee <[email protected]> wrote:
> If u r able to hear the song , then it is playing :D
>
> On Jun 21, 3:15 pm, Bharathiraja R <[email protected]>
> wrote:
> > Hi All,
> >
> > I am starting song through startActivity() method and when phone
> > receives call
> > how to verify whether song is playing or not.
> >
> > If anyone know how to verify
> > please share me the code.
> >
> > Regards,
> > Bharathiraja R
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
Regards,
Hitendrasinh Gohil
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en