gerry
Posts: 0
Joined: Sat Apr 25, 2015 1:33 pm

Camera + application cache

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 ?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Camera + application cache

Hello Gerry,

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

gerry
Posts: 0
Joined: Sat Apr 25, 2015 1:33 pm

Camera + application cache

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Camera + application cache

Hi Gerry,

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

Regards.

gerry
Posts: 0
Joined: Sat Apr 25, 2015 1:33 pm

Camera + application cache

Thanks

Return to “Issues”