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
Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Best option to take a picture

CloudyPics shows you how to re-direct the camera roll in the Cascades API to various paths. It doesn't explicitly include your app's data folder, but if that works now it should be pretty easy to just plug in the path you want.

 

https://github.com/blackberry/Cascades-Community-Samples/tree/master/CloudyPics

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: Best option to take a picture

aha, no you misunderstood.. the docs explain how to do it.. they just mention that there is a restriction which is no longer the case as of 10.2.1:

 

https://developer.blackberry.com/native/reference/cascades/bb__cascades__multimedia__camerasettings....

 

Developer
Posts: 74
Registered: ‎05-31-2013
My Device: BlackBerry Z30

Re: Best option to take a picture

Ahhhh, I see! Thank you for the clarification. I'm working on implementing this now.


Like this answer? Give it a
Visit my blog for programming help, guides and common issues.
BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: Best option to take a picture

just be careful if your app is running on 10.2. if so, you will have to save to shared/ and then move the file afterwards.
Developer
Posts: 74
Registered: ‎05-31-2013
My Device: BlackBerry Z30

Re: Best option to take a picture


smcveigh wrote:

aha, no you misunderstood.. the docs explain how to do it.. they just mention that there is a restriction which is no longer the case as of 10.2.1:

 

https://developer.blackberry.com/native/reference/cascades/bb__cascades__multimedia__camerasettings....

 


I got it working. It saves to /tmp and everything is great! Thank you!



Like this answer? Give it a
Visit my blog for programming help, guides and common issues.