1

Is there any way through which i can get the name of the song being played in my window media player using java programming.

Volker Stolz
  • 7,274
  • 1
  • 32
  • 50
vicky
  • 31
  • 4

1 Answers1

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