Page 1 of 1

Camera + application cache

Posted: Sat Apr 25, 2015 2:15 pm
by gerry

A camera component with destinationType set to File_URI saves the image file to file:///storage/emulated/0/Android/data/io.appery.projectXXX/cache/yyy.jpg
How do we clear these images or do they have some sort of retention period after which they are automatically deleted ?


Camera + application cache

Posted: Mon Apr 27, 2015 6:12 am
by Serhii Kulibaba

Hello Gerry,

Please use Phonegap file API for that: http://docs.phonegap.com/en/edge/cord...


Camera + application cache

Posted: Mon Apr 27, 2015 5:25 pm
by gerry

Thanks I will look into it.

So does that mean that there is no expiry date on these image files ?
It might be a good idea to mention that in the camera examples


Camera + application cache

Posted: Thu Apr 30, 2015 1:30 am
by Yurii Orishchuk

Hi Gerry,

Yes, there is no expire date on these files. That's how cordova camera works.

Regards.


Camera + application cache

Posted: Thu Apr 30, 2015 1:58 pm
by gerry

Thanks