dcsimg
Playing of MP3 audio format in MIDP 2.0
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ajay_Ajay
Posted On:   Friday, January 31, 2003 02:22 AM

Hello there, I hv downloaded and installed the MIDP 2.0 emulator. I have also written a small application that lets you listen to audio files. I am able to listen to .wav files stored on my disk but am unable to listen to .mp3 files. When i try to listen to mp3 files i get the error: Error : javax.microedition.media.MediaException: Cannot create a Player for: com.sun.mmedia.MP3Player I have even tried this: Player p = Manager.createPlayer(in, "audio/mpeg"); but I still get the same error? Please does any one know how to play an mpg audio file for MIDP 2.0? Regards Aja   More>>

Hello there,


I hv downloaded and installed the MIDP 2.0 emulator.
I have also written a small application that lets you listen
to audio files.


I am able to listen to .wav files stored on my disk but am
unable to listen to .mp3 files.


When i try to listen to mp3 files i get the error:


Error : javax.microedition.media.MediaException: Cannot create a Player for: com.sun.mmedia.MP3Player


I have even tried this:


Player p = Manager.createPlayer(in, "audio/mpeg");


but I still get the same error?


Please does any one know how to play an mpg audio file for MIDP 2.0?

Regards
Ajay

   <<Less

Re: Playing of MP3 audio format in MIDP 2.0

Posted By:   Ajay_Ajay  
Posted On:   Friday, January 31, 2003 07:05 AM

Hi,How can I do this? Do you have any code to try this?

Re: Playing of MP3 audio format in MIDP 2.0

Posted By:   Ajay_Ajay  
Posted On:   Friday, January 31, 2003 07:05 AM

Hi,How can I do this? Do you have any code to try this?

Re: Playing of MP3 audio format in MIDP 2.0

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, January 31, 2003 06:49 AM

It sounds (:-) like maybe you need to find and install a Player implementation, for that media type.

About | Sitemap | Contact