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

Java Development

Reply
Developer
Developer
Posts: 283
Registered: ‎07-22-2008
My Device: Not Specified

getMediaTime on storm

I am having problems with the player getMediaTime() on both the simulator and the device running 4.7.

On some mp3 files, the getMediaTime() return a value, but on others it always returns 0, eventhough the mp3 file plays fine. I am using the getMediaTime() to update the progress bar.

 

Did anyone experience the same problem?

 

Thanks

BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: getMediaTime on storm

Can you provide an example of an MP3 file that behaves this way?  What BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker