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: 31
Registered: ‎08-07-2008
My Device: Not Specified

VideoControl.setDisplaySize() - Does anybody know VALID width and height that we can use

Hello guys,

 

Does any body know how to set   videoControl.setDisplaySize(w,h);

 

Basically what i need is to record video on customized screen, I have to display some other fields and  images on same screen.

 

It works fine when i give Display.getWidth() and Display.getHeight() but it takes full screen and i am not able to show any other fields and images.

 

When i tried to set size like 100,100 or 150,150 it throws MediaException

 

How to get suported width and height for videoControl.setDisplaySize(w,h) ?...

 

Please Note: I do not want to set videoControl.setDisplaySize(Display.getWidth(), Display.getHeight());

 

Please Help

 

Thanks in Advance...

 

Zac Smiley Sad

Highlighted
Developer
Posts: 31
Registered: ‎08-07-2008
My Device: Not Specified

Re: VideoControl.setDisplaySize() - Does anybody know VALID width and height that we can use

Does any body knows how to resize video viewer for recording video.??..

 

I am using 5.0 OS

 

Zac Smiley Indifferent

Developer
Posts: 31
Registered: ‎08-07-2008
My Device: Not Specified

Re: VideoControl.setDisplaySize() - Does anybody know VALID width and height that we can use

Its a big shame and disappointment for BB developers that BB does not support this feature... Smiley Mad