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

Native Development

New Contributor
Posts: 2
Registered: ‎04-23-2013
My Device: Blackberry Curve 9300
My Carrier: None - Wifi

Invoke media player in fullscreen mode (BB 6.0)

[ Edited ]

I have this piece of code:

Invocation invocation = new Invocation(url, type, BlackBerryContentHandler.ID_MEDIA_CONTENT_HANDLER, true, ContentHandler.ACTION_OPEN);
Registry registry = Registry.getRegistry("blablabla");

try {
} catch (Exception ex) { }


it works like a charm. But i want the player to play in fullscreen mode... i know about setarg();
but i dont know which argument pass to the method to achieve what i want.

More: the player has, as far as i can see, 3 modes: fullscreen, 1:1 and expanded. If i invoke it, and set the screen mannually (true the graphic interface) to one of the modes mentioned above, in the next invocation the player will start with the previous settings. I want the player to be opened always as fullscreen (or always 1:1, the point is to maintain consistency).


Greetings and thanks in advanced