Reputation: 31
Is there any way through which i can get the name of the song being played in my window media player using java programming.
Upvotes: 1
Views: 1385
Reputation: 44173
You'll need to use native code. The hard (but free) way is to write Java Native Interface code yourself. The easier way is to use a product which does the hard work for you, for example EZ-JCOM. I've used it before and it has been ok.
To then find out how to get the currently playing song, see this question.
Upvotes: 1