×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Cannot play mp3 file in S60 5th edition emualtor

    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.

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: Cannot play mp3 file in S60 5th edition emualtor

    the emulator from S60 V5 0.9 can not playback mp3 because the corresponding codecs are not included.

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: Cannot play mp3 file in S60 5th edition emualtor

    have you tried the latest S60_5th_Edition_SDK_v1_0_en.zip. I just heard that this release already include mp3 codecs.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    3

    Question Re: Cannot play mp3 file in S60 5th edition emualtor

    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

  5. #5
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Cannot play mp3 file in S60 5th edition emualtor

    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.

  6. #6
    Registered User
    Join Date
    Mar 2009
    Posts
    6

    Re: Cannot play mp3 file in S60 5th edition emualtor

    Quote Originally Posted by woody99 View Post
    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
    I've got exactly the same problem! Is there any solution?

  7. #7
    Registered User
    Join Date
    Jun 2009
    Posts
    36

    Re: Cannot play mp3 file in S60 5th edition emualtor

    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.

  8. #8
    Registered User
    Join Date
    Mar 2009
    Posts
    6

    Re: Cannot play mp3 file in S60 5th edition emualtor

    Seems to be a bug in the emulator. On a real device this works: http://discussion.forum.nokia.com/fo...d.php?t=169231

Similar Threads

  1. S60 2nd edition FP3 SDK reports error in jar file entry
    By iwmonkey in forum Mobile Java Tools & SDKs
    Replies: 12
    Last Post: 2010-03-11, 01:39
  2. Icons in s60
    By drizzt6 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-03-06, 09:32
  3. s60 5th edition MTM problem
    By shafali gupta in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-01-14, 13:26
  4. Replies: 17
    Last Post: 2008-01-10, 05:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×