BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-21-2009, 09:40 AM   #1 (permalink)
New Member
 
Join Date: May 2009
Model: 8310
PIN: N/A
Carrier: China Mobile
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Playing default sounds in CLDC application

Please Login to Remove!

Hi

I know this sounds stupid, but I can't find info on this anywhere.

I want to play some of the default sounds, I'm porting an application from a MIDlet, and I have these calls:

Code:
AlertType.INFO.playSound
AlertType.ERROR.playSound
AlertType.CONFIRMATION.playSound
How can I either call these from a CLDC application (they take a parameter of Display and throw an exception if null so I can't just call them directly).

If I can't play them directly, how can I, for example, play Notifier_BBpro_6 or some of the other installed Ring Tones?

Basically, I'm looking for something to replace the above code with and that would sound somewhat similar, can someone bail me out?

Regards

Lionel
Offline  
Closed Thread


Thread Tools

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NEW WideLite Fixture Fitting 400-EFXM-QV 27249 400W w ballast
$275.0
NEW WideLite Fixture Fitting 400-EFXM-QV 27249 400W  w ballast pictureGeneral Electric Rapid Start Ballast #7G1022Wf NEW
$13.99
General Electric Rapid Start Ballast #7G1022Wf NEW  pictureANTHONY REFRIGERATION BALLAST MODEL LTX58-120-60-13158-0004 For One F58 T8 Lamp
$15.0
ANTHONY REFRIGERATION BALLAST MODEL LTX58-120-60-13158-0004 For One F58 T8 Lamp pictureADVANCE BALLAST NO. V-2S40-1-TP MARK III ENERGY SAVER
$17.99
ADVANCE BALLAST NO. V-2S40-1-TP MARK III ENERGY SAVER  picturePHILIPS ADVANCE Electronic Ballast, T5 Lamps, 120/277V 39W 1 or 2 lamps
$17.5
PHILIPS ADVANCE Electronic Ballast, T5 Lamps, 120/277V 39W 1 or  2 lamps picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.