I havent tested, but this code should work:

cameraUI = new CameraUI();
cameraUI.addEventListener(MediaEvent.COMPLETE, onCameraUIComplete);
cameraUI.launch(MediaType.IMAGE);

private function onCameraUIComplete(event:MediaEvent):void
{
    var file:File = event.data.file;
    file.delete();
}

This will immediately delete the picture from the device, so just put your code before file.delete()




On 14/03/2014 23:11, OmPrakash Muppirala wrote:
Kwolbert,

Have you looked at one of the ANEs available?
Perhaps this one has the feature you are looking for:
http://distriqt.com/native-extensions#camera

Thanks,
Om


On Thu, Mar 13, 2014 at 9:05 PM, Kwolbert <kwolb...@amiscu.com> wrote:

I need to use the CameraUI class call to take a picture. But the picture is
of members check stubs which is sensitive information, so I don't want to
stored that image on the device itself. However android saves all images
using the the cameraUI class. Is any way to prevent android from saving the
image in the camera roll or deleting a it from the camera roll when done
with the image?
Thanks
Keith



--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.



--
Lee Burrows
ActionScripter

Reply via email to