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 Developer
Posts: 3
Registered: ‎02-10-2009
My Device: Not Specified

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.

 

 

BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 1,041
Registered: ‎07-16-2008
My Device: ಠ_ಠ

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?
BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 7
Registered: ‎10-04-2009
My Device: Not Specified

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.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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. 

Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
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.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" 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.