04-13-2013 08:35 AM
I'm very new on Blackberry Z10 and I want to start developing apps using C++ Native development.
Here, on Platform choice, I can choose from Cascade or Native SDK. I need to work with Native SDK because I need to access camera and work with OpenCV, but I have a question:
Can I use Cascade SDK with Native or SDK? or How can I implement UI using Native SDK?
04-15-2013 01:54 PM
You can build your UI in Cascades and use a ForeignWindowControl to display the camera (or anything else using the Screen API or OpenGL).
There are some examples doing this specifically with the camera here: http://blackberry.github.io/Community/Camera.html
You probably want HelloCamera specifically, though several examples use this technique.
There is a Cascades camera component as well, but it has certain limitations (no burst mode, no face detection), and then you are dealing with Qt objects, so if you are already comfortable using C and looking to do stuff with OpenCV the C API might be a better choice.