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
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Does Native SDK could save an image file in 10,0.4 or later version??

Problem:

When looking for a camera api, could not find out a camera class with filename.

 

Sample code:

err = camera_take_photo(handle,&shutter_callback,
NULL,
NULL,
&still_callback,
(void*)main_bps_chid,
false);

 

Description:

When try to implement image_callback, could not find api to save an image file.

 

If native sdk do not have the function yet, please let me know.

-Fight with BB10
Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Does Native SDK could save an image file in 10,0.4 or later version??

There is an example that shows you how to save images in the C Camera API in the Presentations repo on GitHub

 

https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/TakePhoto

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
Please use plain text.