Hi all,

  I am playing the .mp3 which is opened using intent.ACTION_VIEW . So
it opened with android's internal mediaplayer and thus I dont have
handle of it.

   I had tried to get the handle using ,

MediaPlayer mp = (MediaPlayer) getSystemService
(mContext.WINDOW_SERVICE);

but it gives ClassCastException. I want to stop this file
programmatically, so I want its handle.

Please help.

Thanks,
Asif
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to