hello,
I don't know why my emulator (s60 5th edition) cannot play mp3 file. It always throws an exception.
Anyone knows the solution?
Thanks.
hello,
I don't know why my emulator (s60 5th edition) cannot play mp3 file. It always throws an exception.
Anyone knows the solution?
Thanks.
the emulator from S60 V5 0.9 can not playback mp3 because the corresponding codecs are not included.
have you tried the latest S60_5th_Edition_SDK_v1_0_en.zip. I just heard that this release already include mp3 codecs.
Hi,
Has there been a successful solution to this thread?
I am currently trying to play an mp3 with a J2ME midlet using the S60 5th Edition SDK version 1.0. In emulation the it crashes:
javax.microedition.media.MediaException: Could not create player.
at
com.nokia.microedition.media.ManagerImpl.createInternalPlayer(ManagerImpl.java:486)
at com.nokia.microedition.media.ManagerImpl.createPlayer(ManagerImpl.java:534)
at javax.microedition.media.Manager.createPlayer(Manager.java:74)[/I]
When I try the jar on the 5800 device there is no sound.
I was able to play this same code on the S60 3rd Edition SDK and the N95 device successfully. The mp3 file plays.
Is there currently an issue playing mp3 with the 5th Edition SDK? Perhaps, there is a configuration parameter I need to set?
Regards,
Eric
Welcome to Forum Nokia DiBo
mp3 is said to play properly with the latest S60_5th_Edition_SDK_v1_0_en. I dont know if there is any issue with J2ME midlet.
I'm using the N97 SDK v1.0 and I'm having the same problem. Any ideas on how to fix this?
Thanks.
EDIT: Additional info
Here's the line of code that raises the MediaException
Player player = Manager.createPlayer(getClass().getResourceAsStream(audioFile), "audio/mpeg");
This works fine on the device but fails in the emulator.
Last edited by shockreaction; 2009-09-11 at 22:58.
Seems to be a bug in the emulator. On a real device this works: http://discussion.forum.nokia.com/fo...d.php?t=169231