You Are Here:

Community: Developer Discussion Boards

#1 Old Sound from a J2ME app on the 7650 - 2002-07-26, 08:50

Join Date: Mar 2003
Posts: 231
Location: UK
LongSteve
Offline
Regular Contributor
Hi,

Has anyone sucessfully got a J2ME app to play any ringtone audio using the Nokia UI Sound class on a real 7650? I haven't been able to get anything other than a few clicks out of a real device (v3.08 and v3.12 versions).

Many months ago, I had an early device with something like v2.14 OS and that played audio ok. It's not my application either because it plays sounds nicely using the Series 40 emulator, 6310i emulator and both real 6310i and 3410 devices.

Thanks for any help,

Steve
Reply With Quote

#2 Old RE: Sound from a J2ME app on the 7650 - 2002-07-29, 11:18

Join Date: Mar 2003
Posts: 3
MASSP
Offline
Registered User
Hi Steve -

what methods did you try to use when working with the 7650's sound class? I have been trying to use FORMAT_WAV and FORMAT_TONE but neither works. When using FORMAT_WAV, the application breaks with the message "jes-f5-javax.microedition.lcdui0@14...CMdaAudioPlayerU 2". Using FORMAT_TONE, the phone pretends to do something but the speakers do not play any sound. I have also been trying to use the method "Sound.getSupportedFormats()" but calling this method just exits the application.

My phone's SW version is v3.12.

If you find anything, please keep me updated!

Cheers,

Benjamin
Reply With Quote

#3 Old RE: Sound from a J2ME app on the 7650 - 2002-07-29, 17:14

Join Date: Mar 2003
Posts: 231
Location: UK
LongSteve
Offline
Regular Contributor
Hi Benjamin,

FORMAT_TONE is what I've been trying, but I've tried FORMAT_WAV in the past with the same error you've seen. There's nothing wrong with my data either, the exact same code (and data) plays fine using several other phones and the series 40 emulator.

When I can be bothered to look into it I think I'll try throwing random data into the Sound class and see if I can get any noise at all!

Sorry,

Steve
Reply With Quote

#4 Old RE: Sound from a J2ME app on the 7650 - 2002-08-09, 09:55

Join Date: Mar 2003
Posts: 15
jstorm
Offline
Registered User
try start a thread to play the sound, instead of play it in the main midlet thread.
Reply With Quote

#5 Old RE: Sound from a J2ME app on the 7650 - 2002-09-04, 06:58

Join Date: Mar 2003
Posts: 6
tal132
Offline
Registered User
I need to deliver a j2me application that plays back voice mail ( wav format ). can I achieve that ? do you know which phones support it ?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia