Search code examples
blackberryaudioamr

Playing Audio recorded on BlackBerry externally


I have a BB app that records and sends audio to a web service and is stored as a BLOB on my DB. I would like to know how I can play this audio from another source that isn't the BB player. I am able to save the audio data as a byte array on the BB and then extract it and play it without problem but i can't manage to do the same when I try to play it using Java Sound for instance. Has anyone tried this?


Solution

  • BlackBerry records files in AMR format. Java Sound cannot play them back, you need a codec for that. Try, for example, http://sourceforge.net/projects/jspeex/, if you want to stay pure Java.