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
Highlighted
Developer
Posts: 239
Registered: ‎07-26-2010
My Device: Z10
My Carrier: Telkomsel

How the check end of media while using Invocation?

There at least 2 classes than can be used to play MP3s:

1. Player

2. Invocation (invoking BB native media player)

 

If you're using class Player, you can check whether the media has reached it's end or not by checking the PlayerListener.END_OF_MEDIA

 

My question is: is there any similar way that can be used while using Invocation? A quick Google search gives me ListenerInvocationProperties . It looks like the one I'm looking for. Unfortunately, it is only available in OS 7.