how to take a picture(snap) by camera and save it in device gallery


I am new to openFrameWorks and I want to know how can I create an app which can take a picture and the save the image in device gallery.


open up the " ImagePickerExample" and put ofxiPhoneScreenGrab(NULL); inside of the touchDoubleTap event. build&run the example app on device take pic from device camera and double tap to save pic in photo library.