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

Native Development

Reply
Developer
Posts: 34
Registered: ‎10-19-2012
My Device: Blackberry 10 Limited Edition
My Carrier: Telkomsel
Accepted Solution

Draw Text or Images as Background in Camera

Hi All, I want to create an app in BB10 that used camera function,

Can I draw a text or images as background in the camera?  

 

Thank you All.,

Best Regards.


Richard Kesuma
Developer
Developer
Posts: 174
Registered: ‎03-05-2009
My Device: Dev Alpha
My Carrier: -

Re: Draw Text or Images as Background in Camera

i think you meant overlay and not background? connecting with the camera will most probably cover up most of the screen's content....

 

if you meant overlay, check out ForeignControl:

https://developer.blackberry.com/cascades/reference/bb__cascades__foreignwindowcontrol.html

 

and the following samples app: 

HelloVideoCamera

 

you simply need to add content on top of the foreignwindowcontrol 

Highlighted
Developer
Posts: 34
Registered: ‎10-19-2012
My Device: Blackberry 10 Limited Edition
My Carrier: Telkomsel

Re: Draw Text or Images as Background in Camera

Thank You lew Smiley Happy
Problem solved!
Best Regards.


Richard Kesuma