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
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

Bold MMAPI :- playerUpdate() not being called

I have an application that plays audio, that is compiled with JDE 4.2.1

 

I rely on the playerUpdate() callback of MMAPI to update the position of the media in the GUI.

 

This works well on 8800 , 8100 , 8830 and a few other devices.

 

However on the Bold, the playerUpdate() does not seem to be called every second while media is playing.

 

Is this a bug in the MMAPI implementation ? Or am I missing something ?

 

Thanks

 

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

Re: Bold MMAPI :- playerUpdate() not being called

This was a design change to reduce the number of garbage objects created and is the new expected behviour.  You can query the status of the player from within your application to obtain the current position.
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
Developer
Posts: 105
Registered: ‎05-22-2008
My Device: Not Specified

Re: Bold MMAPI :- playerUpdate() not being called

Ok, so you are saying that I could perhaps start a thread, query the player position interval, and

then update the UI ?

 

As far as the design changes, I have 2 questions :-

 

1. Does this change break the MMAPI spec ? Is the BB no longer MMAPI compliant ?

 

2. Much more importantly, where can I find a list of these changes that would affect my application ?

 

Perhaps the API docs may be littered with notes, but is there a single place that lists the changes ?

Like a quick ref ?

 

Thanks