coomar2841 / image-chooser-library

An Easy Image/Video Chooser Library for your Android Apps
646 stars 192 forks source link

Use Cache instead of external storage #140

Open Shusshu opened 8 years ago

Shusshu commented 8 years ago

FileUtils getDirectory

new File(getContext().getCacheDir(), foldername);

instead of

new File(Environment.getExternalStorageDirectory().getAbsolutePath()
            + File.separator + foldername);