Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User siva_guduru's Avatar
    Join Date
    Apr 2006
    Posts
    32
    Hello,
    did any one played a aac encoded file in midp2.0, if yes pls send us coz when i am trying to play the file using mmapi i am able to create the player with the file but i am not able to play it or i can say i am not able to hear the sound.

    if anyone has a solution pls write to me at sguduru@hvotech.com or reply to this thread.

  2. #2
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    Hi siva_guduru! Welcome to Nokia Discussion Boards!!

    Please let us know which phone are you using. Also please try with System.getProperty("audio.encodings") to see what formats are supported by your phone.

    Regards
    Gopal

  3. #3
    Registered User siva_guduru's Avatar
    Join Date
    Apr 2006
    Posts
    32
    Hello Mr.BalagopalKS,
    presently we r using nokia s6o FP3 emulator and we haven't tested it on phone.

    i will try with the option u have sent in mean while if u have any other ways pls let me know,

    Thank you very much for ur support.
    with rgs,
    siva charan.

  4. #4
    Registered User siva_guduru's Avatar
    Join Date
    Apr 2006
    Posts
    32
    Hello Mr.Gopal,
    Now today we have tried it on nokia n70, and still we r finding the same problem, we need to check out the getproperty option that u have sent us.

    if u have anyother options pls help me by writing them.

    thank you,
    siva charan.

  5. #5
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    May be you could give a try with this code.
    ...
    try {
    InputStream is = getClass().getResourceAsStream("/Test.aac");
    Player player = Manager.createPlayer(is, "audio/mp4");
    player.realize();
    player.prefetch();
    player.start();
    }
    catch(IOException ioe) {
    }
    catch(MediaException me) {
    }
    ...

    Regards
    Gopal

  6. #6
    Registered User siva_guduru's Avatar
    Join Date
    Apr 2006
    Posts
    32
    Hello Mr.gopal,
    but our file is of .m4a extension does thjis have the same content type or any other is specified.

    also we r creating player with statement Manager.createPlayer("http://songaddress"); which is stored in root of tomcat server.

    does creating player this way produce any ambiguity or is it fine this way as well.
    anyway i will try doing it that way.
    meanwhile if u have any idead on my way pls reply me.
    thanking you,
    with rgs,
    siva charan.

  7. #7
    Registered User gcausse's Avatar
    Join Date
    Apr 2006
    Posts
    7
    thanks a lot for your sample code it works very well for me
    Regards

  8. #8
    Registered User aditighosal's Avatar
    Join Date
    Aug 2007
    Posts
    19
    I'va tried the above code, but it's not working....

    It's throwing the following Exception :
    javax.microedition.media.MediaException: Cannot create a Player for: audio/mp4

    can anyone put some light on this. I have to play aac file from res and as well as from some folder

  9. #9
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Which device are you talking about? Not all devices support all possible media formats
    http://www.forum.nokia.com/info/sw.n..._0_en.xls.html

    Hartti

Similar Threads

  1. Problem in playing DRM file in nokia 6600
    By anoopd in forum Digital Rights Management & Content Downloading
    Replies: 5
    Last Post: 2005-12-12, 07:53
  2. Replies: 1
    Last Post: 2005-05-26, 14:22
  3. How to playing MP3 file with Series 60 SDK2.1?
    By cindul in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-02-06, 05:30
  4. Replies: 0
    Last Post: 2002-06-10, 12:24
  5. Replies: 1
    Last Post: 2002-05-27, 03:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved