Mp3 Player. I wanted to click a song and that song should play with my own created mp3 player.
Start writing here...
Simply I went to main method of my driver class and the arguments in the main method like the follwing.
public static void main(string[] args){}
I used the 0th index of the args index as it contained the address of the song to be played. I passed this address to play function of my code and the song was successfully playing !!!!
Lesson: Whenever we click any file, its address is saved in main method of the driver class of its code.