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
aparnabhure
Posts: 23
Registered: ‎12-01-2009
My Device: Not Specified

Urgent::video control is playing from 0,0 location

Hello All,

 

I am trying to play a video on a popup screen. My application is a background application it launches Video popup screen using "pushGlobalScreen()" on some event like incoming call.

 

It is observing that VideoControl start playing from 0,0 location is is not bounded with popup screen.

 

Please let me know how to solve it. I have tried by calling requestFG(processID), requestFG, pushScreen, pushModelScreen, also added some sleep before launch but no success.

 

But if I launch video popup as a new application the it worked fine. Problem is only while trying to launch in foregroung from background.

 

Please take it urgent and let me know any solution.

 

Thank you,

Regards,

Aparna Bhure

Please use plain text.
Developer
aparnabhure
Posts: 23
Registered: ‎12-01-2009
My Device: Not Specified

Re: Urgent::video control is playing from 0,0 location

Nobody has any solution...

 

 

Please use plain text.
Retired
Retired
BVP
Posts: 150
Registered: ‎10-19-2010
My Device: Not Specified

Re: Urgent::video control is playing from 0,0 location

Hi aparnabhure!

 

Have you tried using the VideoControl.setDisplayLocation method to anchor the video to the upper-left corner of the new window?  By default video is displayed at (0, 0).

 

Please use plain text.