You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Kwolbert <kw...@amiscu.com> on 2014/03/14 05:05:10 UTC

Delete image from camera roll

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.

RE: Delete image from camera roll

Posted by Kwolbert <kw...@amiscu.com>.
Thanks for the reply, I was considering using them, I did notice that they
have a property that can be set not to save the image to the camera roll. I
will consider this, and if let you know of my progress. Thanks again.

 

From: OmPrakash Muppirala [via Apache Flex Users]
[mailto:ml-node+s2333346n5539h19@n4.nabble.com] 
Sent: Friday, March 14, 2014 7:13 PM
To: Kwolbert
Subject: Re: Delete image from camera roll

 

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 <[hidden email]> 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. 
> 

 

  _____  

If you reply to this email, your message will be added to the discussion
below:

http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll
-tp5513p5539.html 

To unsubscribe from Delete image from camera roll, click here
<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?mac
ro=unsubscribe_by_code&node=5513&code=a3dvbGJlcnRAYW1pc2N1LmNvbXw1NTEzfC02Nz
cyNjE5Mw==> .
 
<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?mac
ro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.names
paces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.we
b.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.nam
l-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.n
aml> NAML 





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

RE: Delete image from camera roll

Posted by Kwolbert <kw...@amiscu.com>.
Thanks for the reply, I will give this a try and let you know, thanks

 

 

From: Lee Burrows [via Apache Flex Users]
[mailto:ml-node+s2333346n5542h12@n4.nabble.com] 
Sent: Friday, March 14, 2014 7:41 PM
To: Kwolbert
Subject: Re: Delete image from camera roll

 

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 <[hidden email]> 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 




  _____  

If you reply to this email, your message will be added to the discussion
below:

http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll
-tp5513p5542.html 

To unsubscribe from Delete image from camera roll, click here
<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?mac
ro=unsubscribe_by_code&node=5513&code=a3dvbGJlcnRAYW1pc2N1LmNvbXw1NTEzfC02Nz
cyNjE5Mw==> .
 
<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?mac
ro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.names
paces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.we
b.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.nam
l-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.n
aml> NAML 





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

RE: Delete image from camera roll

Posted by Kwolbert <kw...@amiscu.com>.
Yes, I download that app, just what I am looking for! Going to try to give it a go. Will keep you posted. Thanks Again !

 

From: Javier Guerrero García [via Apache Flex Users] [mailto:ml-node+s2333346n5583h83@n4.nabble.com] 
Sent: Monday, March 17, 2014 1:02 PM
To: Kwolbert
Subject: Re: Delete image from camera roll

 

Yes, but it doesn't have to :) Have a look at look4color app, does exactly 
that :) 

Check your app rendermode, adjust camera resolution to match screen 
resolution, disable scaling and smoothing, and it should be silk smooth :) 
You can even layer some cool UI on top of it 


On Mon, Mar 17, 2014 at 2:29 PM, Kwolbert <[hidden email]> wrote: 


> Thanks for the response, I have tried this but the camera view is too 
> sluggish! 
> 
> 
> 
> 
> 
> From: Javier Guerrero García [via Apache Flex Users] [mailto: 
> [hidden email]] 
> Sent: Saturday, March 15, 2014 6:37 AM 
> To: Kwolbert 
> Subject: Re: Delete image from camera roll 
> 
> 
> 
> 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 <[hidden email]> 
> 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 <[hidden email]> 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 
> > 
> > 
> 
> 
> 
>   _____ 
> 
> If you reply to this email, your message will be added to the discussion 
> below: 
> 
> 
> http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513p5550.html
> 
> To unsubscribe from Delete image from camera roll, click here < 
> 
> . 
>  < 
> http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> &id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
> NAML 
> 
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513p5573.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com. 
> 

 

  _____  

If you reply to this email, your message will be added to the discussion below:

http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513p5583.html 

To unsubscribe from Delete image from camera roll, click here <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5513&code=a3dvbGJlcnRAYW1pc2N1LmNvbXw1NTEzfC02NzcyNjE5Mw==> .
 <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML 





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

Re: Delete image from camera roll

Posted by Javier Guerrero García <ja...@gmail.com>.
Yes, but it doesn't have to :) Have a look at look4color app, does exactly
that :)

Check your app rendermode, adjust camera resolution to match screen
resolution, disable scaling and smoothing, and it should be silk smooth :)
You can even layer some cool UI on top of it


On Mon, Mar 17, 2014 at 2:29 PM, Kwolbert <kw...@amiscu.com> wrote:

> Thanks for the response, I have tried this but the camera view is too
> sluggish!
>
>
>
>
>
> From: Javier Guerrero García [via Apache Flex Users] [mailto:
> ml-node+s2333346n5550h60@n4.nabble.com]
> Sent: Saturday, March 15, 2014 6:37 AM
> To: Kwolbert
> Subject: Re: Delete image from camera roll
>
>
>
> 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 <[hidden email]>
> 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 <[hidden email]> 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
> >
> >
>
>
>
>   _____
>
> If you reply to this email, your message will be added to the discussion
> below:
>
>
> http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513p5550.html
>
> To unsubscribe from Delete image from camera roll, click here <
> http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5513&code=a3dvbGJlcnRAYW1pc2N1LmNvbXw1NTEzfC02NzcyNjE5Mw==>
> .
>  <
> http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> NAML
>
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513p5573.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

RE: Delete image from camera roll

Posted by Kwolbert <kw...@amiscu.com>.
Thanks for the response, I have tried this but the camera view is too sluggish!

 

 

From: Javier Guerrero García [via Apache Flex Users] [mailto:ml-node+s2333346n5550h60@n4.nabble.com] 
Sent: Saturday, March 15, 2014 6:37 AM
To: Kwolbert
Subject: Re: Delete image from camera roll

 

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 <[hidden email]> 
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 <[hidden email]> 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 
> 
> 

 

  _____  

If you reply to this email, your message will be added to the discussion below:

http://apache-flex-users.2333346.n4.nabble.com/Delete-image-from-camera-roll-tp5513p5550.html 

To unsubscribe from Delete image from camera roll, click here <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5513&code=a3dvbGJlcnRAYW1pc2N1LmNvbXw1NTEzfC02NzcyNjE5Mw==> .
 <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML 





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

Re: Delete image from camera roll

Posted by Javier Guerrero García <ja...@gmail.com>.
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 <su...@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 <kw...@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
>
>

Re: Delete image from camera roll

Posted by Lee Burrows <su...@leeburrows.com>.
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 <kw...@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


Re: Delete image from camera roll

Posted by OmPrakash Muppirala <bi...@gmail.com>.
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 <kw...@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.
>