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
New Contributor
pashute
Posts: 9
Registered: ‎07-29-2010
My Device: Not Specified

OS6 Video not playing on popup (after pushGlobalScreen) OS6 (9800)

[ Edited ]

OS6 video problem: PushGlobalScreen and perhaps HorizontalManager not allowing video to play correctly.

 

When showing a video in a screen which extends PopupScreen, 

in the 9800 the video will show on top of the popup, in the wrong location, and covering up the text.

This looks like a bug.

 

I'm using a horizontalManager for showing some text and bitmap fields above,

and then adding video directly to the form

The video is loaded using FileInputStream from the SD,
or directly from url on SD using .createPlayer(url)

 

It worked ok in all devices till now. 

I tried setting the call to super() in ctor to use USE_ALL_WIDTH|USE_ALL_HEIGHT but that did not help.

I also removed all calls to videoControl.setVideoSize(...

 

When competing with the call handler - I get video BOTH on popup and in background. 
The video plays extremely slowly in emulator, showing in full screen in background, obscured by a scaled down screen in popup.  Then the caller id screen pops up and is immediately covered by the background full screen video, now in the foreground, obscuring all view.

 

I can attach a test project for demonstration.

 

Thanks, Moshe

 

Please use plain text.
New Contributor
pashute
Posts: 9
Registered: ‎07-29-2010
My Device: Not Specified

Re: OS6 Video not playing on popup (after pushGlobalScreen) OS6 (9800)

Similar problem to -

http://supportforums.blackberry.com/t5/Java-Development/Need-help-playing-video-on-Popup-GlobalScree...

 

Both Konik and GautamBisht say they have the same problem.

Please use plain text.
Developer
konic
Posts: 173
Registered: ‎06-11-2009
My Device: Not Specified

Re: OS6 Video not playing on popup (after pushGlobalScreen) OS6 (9800)

pashute,

does you code play video on a real device, even in a such weird/wrong way?

I mean, do you see picture at all?

I can hear audio but no picture in both (different ) cases: extended either from MainScreen or PopupScreen.

And setDisplayLocation() and setDisplaySize() do not work at all, only setDisplayFullScreen(true).

Next. Do you compile you app in JDE 6 or other, like 4.6, 5.0?

Please use plain text.