Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-28-2011 03:10 PM
I'm planning out some projects and was looking through the JavaDocs and noticed one thing and had an idea for another:
Solved! Go to Solution.
04-29-2011 09:37 AM
Ok, so based on http://supportforums.blackberry.com/t5/Java-Develo
So, as for the other question, does anyone know if it is possible to "add" support for other audio formats (as stated in the previous post)?
05-25-2011 11:44 AM
So I saw in your thread on it.
Now to know if it's possible to implement an unsupported audio format with the built in Player (instead of writing my own player).
05-26-2011 01:23 AM
> to add an audio format by wrapping the audio stream and converting it to a supported format on the fly?
yes, you can use whatever internal format you want to transfer the audio data, all you need to do is to convert it to "known" format before providing the audio data to the player.
05-26-2011 11:15 AM
That's what I thought. I assume this would be done within a DataSource?
05-27-2011 02:19 PM - edited 05-27-2011 02:20 PM
InputStream would definitly be easier but DataSource would offer more "options" such as seeking and would be more managable when dealing with different content types and sources.
The way I look at it is (for something like streaming):
InputStream: Open input stream, read data (block until enough data has buffered, provide data), do all cleanup in close function
DataSource: Create data source, Connect (start buffering data), Start (provide data), Stop (stop providing data but continue to buffer if more data is avalible), Disconnect (stop buffering, close streams, free buffers).
I like options so knowing it would work with an InputStream is good to know. Thank you.
EDIT: I'll mark this as the solution since my questions where anwsered by 2 different people.
06-03-2011 08:21 PM
Yes. Using input stream is easier. However, some BB device does not work with InputStream player. Just find that out the other day on the 8520. Don't know what the reason is. DataSource does work though.
06-03-2011 08:23 PM