Is there any way through which i can get the name of the song being played in my window media player using java programming.
Asked
Active
Viewed 1,341 times
1 Answers
1
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.

Community
- 1
- 1

Nick Fortescue
- 43,045
- 26
- 106
- 134