Question

I am using Alert.startAudio to play an array of short values, I want the same short[] to be played using the phone speaker, how could I do this ?

No correct solution

OTHER TIPS

I believe it is played with speaker by default!
But if it's not, try to use AudioPathControl

See BB KB How To - Specify Audio Path Routing

UPDATE
BB Developer Journals - The BlackBerry Alert Class:

The next two methods will start and stop an audio alert on the audio channel selected by the user. An audio channel can be the internal headset, speaker, earpiece or a Bluetooth® headset.

maybe this should be configured somewhere in device...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top