×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    5

    J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Hi Everyone!

    I'm a newcomer and a J2ME beginner too. Can you help me solve this problem? I can not play WAV file on my cellphone (Nokia 3230). I have run my application on Emulator (S60-2nd-FP1-SDK), it works well, so I can't find the reason why! (I use NetBean IDE for programming. After creating application, I copy .JAR file to my cellphone and install, but the application doesn't work).
    I really need your help. Thank you so much!

    Ton That Thien Chuong

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    A better place for this question would be here. As a piece of advice I suggest you always copy both .jar and .jad files. Even though it's pointless 99.99% of the time, it's safer and might actually prove to be the solution in some cases.

  3. #3
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Moved to Java Media discussions

    What do you mean "does not work on the phone"?
    Does the application install on the phone? Does it start? Any Exceptions? What?

    Hartti

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    5

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Thanks for your reply, bogdan.galiceanu and hartti!
    I've tried again. After installing the application successfully, I start it. But when I try to play my WAV file, it doesn't work on cellphone, although everything is okay on emulator...

    Ton That Thien Chuong

  5. #5
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Which phone are you talking about?

    Hartti

  6. #6
    Registered User
    Join Date
    Apr 2008
    Posts
    5

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    My cellphone is NOKIA 3230 (CLDC 1.0, MIDP 2.0), and I use S60-2nd-FP1-SDK Emulator to run my application.
    I have changed IDE today, from Netbean IDE to Sun Wireless Toolkit 2.2.

    Ton That Thien Chuong

  7. #7
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Changing the IDE does not have an effect on this. That phone should support WAV. Where is the WAV file located? Which Exception do you get? What is the quality of the WAV file (sampling frequency, etc)
    see also here
    http://www.forum.nokia.com/info/sw.n..._0_en.xls.html

    Hartti

  8. #8
    Registered User
    Join Date
    Apr 2008
    Posts
    5

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Hi everyone. Sorry, I have to study about JSR-75 (my application need this technology), so I have not met our "discussion" for a long time.
    JSR-75 is okay on real cellphone, but JSR-135 is still not. I have tried my sound demo application on Motorola E680i. Early, the E680i can not play my WAV or MP3 file. Then, I have changed "Java Sound" setting on this phone (enable it), and my application can play these files now (on E680i).
    I am using Nokia N72, I have read its manual, but I can not find the "setting" like that on this phone, so my application can not play sound on this phone.
    Can you give me your advice?

    Thank you so much.

    Ton That Thien Chuong

  9. #9
    Registered User
    Join Date
    Apr 2008
    Posts
    5

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    I have found out how to play sound on N72. You change the property of "warning tones" (in "profiles") from "off" to "on" -> so you can play sound with J2ME.
    You can also do like that for all Series 60 cellphones.

    Ton That Thien Chuong

  10. #10
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    220

    Re: J2ME Beginner: Can not play WAV file on cellphone! Help me, please!

    Hi

    please check first that whether 3230 has support for wav file or not. you can achieve this by transfering the wav file to the phone and use native player to play the same.

    Amit

Similar Threads

  1. application error with 3gp file in J2ME
    By ruchig_iic in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2012-01-16, 21:40
  2. wav file to Byte[] array in J2ME (+playing it)
    By norrissmith in forum Mobile Java General
    Replies: 3
    Last Post: 2011-04-16, 14:24
  3. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  4. Contacts fields order??
    By timatima in forum Symbian C++
    Replies: 1
    Last Post: 2007-06-08, 13:51
  5. cannot able to play a video file.
    By shalini.mishra in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2006-11-13, 16:54

Posting Permissions

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