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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
barbalatm
Posts: 3
Registered: ‎02-10-2009

How to paint images on a video container?

Hello guys.

 

Does anyone have experience with image painting on a video container?

 

Bellow there is a sample image of what I meant.

 

screenshot

 

Thanks for any help.

 

 

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: How to paint images on a video container?

The BlackBerry Media player and JSR 135 implementation does not support drawing on top of a video that is playing.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
mreed
Posts: 1,019
Registered: ‎07-16-2008

Re: How to paint images on a video container?

Even if the video is not fullscreen (just a field the size of its manager), and the manager paints manually after painting the video field?
Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: How to paint images on a video container?

Yes, this also applies when the video is playing in non full screen mode.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
dev_inc
Posts: 7
Registered: ‎10-04-2009

Re: How to paint images on a video container?

In the Blackberry 9000, if you press the trackball while the video is in motion, the video is resized and a Field Manager (I'm assuming its a field manager) for play, pause, next clip etc slides up.

In the Storm, the video still plays in the background (no resizing)) but this Field manager slides over the video.

 

In view of not being able to draw over a playing video, how is this behaviour explained.

 

My concern, is that I'm trying to develop a media player like application, so the user can press a track ball to give pause/play options like in the blackberry bold 9000. default player, but i would love to get a semi transparent filed manager with these buttons slide up like in the storm.

 

What would be a good way to go about implementation of such a UI.

 

Regards.

Please use plain text.
Developer
peter_strange
Posts: 17,629
Registered: ‎07-14-2008

Re: How to paint images on a video container?

Would a transparent screen over the top of the video playing screen work - with a buttons sliding up the transparent screen.  Just a thought, never tried it. 

Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
My Carrier: Verizon

Re: How to paint images on a video container?

Just a thought as well. Though it would be very slow if you created a custom field and had the video field draw to a Bitmap you can then draw on top of the Bitmap and then display the modified video screen.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.