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
New Contributor
pgruza
Posts: 3
Registered: ‎01-10-2013
My Device: Playbook
My Carrier: xxx

QML + camera

Hi,

I have some app on BlackBerryPlaybook. I wrote on qml. I would like to use camera to take a photo. I fink about qt mobility but i found: The QtMultimediaKit module is supported in the BlackBerry 10 Native SDK except for theQMediaRecorderControl and Camera APIs.

Are any idea to use camera?

 

thanks in advance!

Please use plain text.
Developer
BBSJdev
Posts: 6,089
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: QML + camera

Cascades isn't available on PlayBook yet?

 

Did you mean you have an app on PlayBook that you would like to port to BB10?

 

If so then you can use the camera like this...

 

http://developer.blackberry.com/cascades/documentation/design/camera/

 

Alternatively and depending on your app you may prefer to have your app listed as an invocation target when a picture is taken.

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
New Contributor
pgruza
Posts: 3
Registered: ‎01-10-2013
My Device: Playbook
My Carrier: xxx

Re: QML + camera

I don't use Cascades, I wrote on native qt and port on BB.

Please use plain text.
BlackBerry Development Advisor
fbumberger
Posts: 5
Registered: ‎10-04-2012
My Device: Playbook
My Carrier: Vodafone

Re: QML + camera

Hi,

The Camera API for QtMultimedia is currently only supported in Qt5. You can find details on how to build Qt5 for Playbook and BlackBerry10 here: http://qt-project.org/wiki/Building-Qt5-for-Blackberry

Please use plain text.