flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Guerrero García <javi...@gmail.com>
Subject Re: Delete image from camera roll
Date Sat, 15 Mar 2014 10:36:10 GMT
Just another option: attach the video camera directly, and just capture the
image and process it bypassing cameraUI. If you dont want to save it, i
think it's the fastest and simplest solution ;)

El sábado, 15 de marzo de 2014, Lee Burrows <subscriptions@leeburrows.com>
escribió:

> 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 <kwolbert@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message