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

Posts: 813
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

media player question

    int currentPosition = playerService.GetCurrentPosition();
        int total = playerService.Duration();



This is what I do. Playerservice is of  class type which implements playerlistener

Now when the file is local, this works perfectly. The slider is in the right place, i get the durant..and position the slider in right place.

when slider is moved manually, i am able to go plsy from the right minute



however when it comes to streaming, not local files..it doesnt work. First, slider moving wrong.. second if slider moved manuyall doesnt work too.