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

Posts: 26
Registered: ‎12-13-2012
My Device: 9000

save image in cascades qml for blackberry 10

Dear everyone,

I like to save the image to the gallery of Blackberry 10. I don't found the API in QML Cascades for do this.

Can anyone help me ?

Thanks and Brgs,

Posts: 160
Registered: ‎01-27-2012
My Device: Playbook

Re: save image in cascades qml for blackberry 10

You'll have to save images using Qimage in cpp - but then access the cpp function  using a setContextProperty or implementing the class using qmlRegister.


Check out how they did in photobomber.



If you find my post helpful please "like" it and "accept as a solution"
Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: save image in cascades qml for blackberry 10

You can save the images in any folder in QML using..



 settings.cameraRollPath = "/accounts/1000/shared/camera";


apply this before you saved the pictures most probably on cameraOpened.