Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development


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.


Reply
Regular Contributor
Posts: 63
Registered: ‎12-24-2010
My Device: Torch

with 2.0.0.6149, sound quality went straight to hell

[ Edited ]

I upgraded from 2.0.0.4869 to 2.0.0.6149 . That solved the 'SharedPreferences' issue I was talking about in another thread, but a new one appeared: sound quality.

 

In 4869, playing WAVs with the Android 'MediaPlayer' class worked perfectly. Now it is a lot slower ( playing a short sound in rapid succession is at least twice slower which suggests MediaPlayer.start() initialization takes much longer ). Also quality got much worse.

BlackBerry Development Advisor
Posts: 102
Registered: ‎11-21-2008
My Device: Z10
My Carrier: Bell

Re: with 2.0.0.6149, sound quality went straight to hell

Hello again Utamno,

 

I'm happy to hear that the previous issue regarding the SharedPreferences was resolved.

 

I've written a small sample application which utilizes the MediaPlayer.start() method and the WAVE file that I passed into the MediaPlayer.create() method (R.raw.track1) is played without issue.

 

What is the length of your sound clip and how often are you repeating it? 

 

Note: 8- and 16-bit linear PCM WAVE files are supported within the BlackBerry Runtime for Android apps


James Dreher
BlackBerry Development Advisor