×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    3

    Thumbs up Fail to play *.mp3 in Nokia 5800 XpressMusic

    Hi all,
    I am going to play *.mp3 in Nokia phone. I am able to play *.mp3 in N85,N95 but not in in Nokia 5800 XpressMusic.
    Thus, I would like to ask what is problem? Is it related to the version of "Developer Platform"?

    Below is my program for playing *.mp3

    //======================================
    private void createMp3StartUpPlayer () {
    try {
    if (mp3Player == null)
    {

    InputStream is = getClass().getResourceAsStream("/audio/startup.mp3");
    mp3Player = Manager.createPlayer(is, "audio/mpeg");

    mp3Player.setLoopCount (1);

    }

    if (stopSound) {
    return;
    }
    mp3Player.realize();
    //----set volume
    VolumeControl vc;
    vc = (VolumeControl) mp3Player.getControl("VolumeControl");
    if(vc != null)
    {
    vc.setLevel(100);
    }
    mp3Player.prefetch();
    mp3Player.start ();
    }
    catch (Exception ex) {
    // ex.printStackTrace();
    if (mp3Player != null) {
    mp3Player.close ();
    mp3Player = null;
    }

    //parentDisplay.setCurrent (alert);
    }
    }
    //======================================

    Thanks,
    sam

  2. #2
    Registered User
    Join Date
    Sep 2009
    Posts
    3

    Re: Fail to play *.mp3 in Nokia 5800 XpressMusic

    hi all,

    I have found the solution in below thread!

    5800 XpressMusic is required to put the SIM card to play mp3.

    reference links
    http://discussion.forum.nokia.com/fo...ht=5th+Edition

    Thanks,
    sam

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    Re: Fail to play *.mp3 in Nokia 5800 XpressMusic

    my problem is that, when I transfer MP3 files to my phone(nokia 5800),the initial 1 or 2 album will work properly( containing abt 20 songs) after that ,if i try to put more files n go n look for it in the file manager ,u can see some corrupted files. but u cant play it like the above....i formatted my mini SD so many times..bt its the same. when the corrupted file are in my phone , i cant even delete it...so i hav to re-format my mini SD
    .i dont knw how to solve this problem....plz help!!!!
    Last edited by cdruk; 2010-02-12 at 10:27.

Similar Threads

  1. ###Upgrading Firmware###
    By zahid44 in forum General Development Questions
    Replies: 27
    Last Post: 2008-10-21, 07:17
  2. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58

Posting Permissions

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