خرید بک لینک

Vote count: 0

I have created a Mediaplayer in Java .. It can Play both .mp3 and .wav files .. I create its setup installer and install MediaPlayer on my computer ..

Then i set My MediaPlayer as a default program for Audio files on my computer .. Now Problem is that when i open an audio file on my computer it opens My MediaPlayer because it is default program for audio files but MediaPlayer Does not know how to get or capture that audio file in order to play it .. What type of code i have to add in MediaPlayer to get that Audio file??

Otherwise my MediaPlayer works cool , it has a brows Button on GUI , by clicking that button one can brows a song on computer and MediaPlayer will play that song ..

It Tried many Things as: String name=getClass().getName(); URL url=getClass().getResource(name);

.... BLaaa Blaaaa e.tc ..

AT last i Found my Self unable to solve that problem .. Anyone can plZzz Help Me... :)

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 15 فروردين 1395 ساعت: 12:31

صفحه بندی