How to get current playing song details from mediaplayer?

There is no documented method for getting info on the currently playing file from a MediaPlayer instance, you'll need to make your app store that information itself in another way. If you're using a Service to keep track of your MediaPlayer instance (which I'd recommend) then this shouldn't be too hard.

Thank you for your suggestion. – Eby Sep 1 '10 at 10:33 I can see lot of widget which shows the song details like you see in developer.android. Com/guide/topics/appwidgets/index.

Html this widget. – Eby Sep 1 '10 at 10:34 Yes. And?

Music widgets are designed to integrate with a certain player, and you can't make your own widget easily integrate with another media player. – fredley Sep 1 '10 at 10:55 OK... Then I ll create a service to keep track on Media player instance.. Thank you very much for your suggestions – Eby Sep 1 '10 at 11:14.

I think you need to have your own model classes from wherein you can set and get your song title and other info stackoverflow.com/questions/2780295/how-... If you are keen to know how it is being implemented you can get the source from here and see how they have implemented it android.git.kernel.org/?p=platform/packa....

Android - How to get current playing song details from MediaPlayer - Stack Overflow.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions