Thursday, December 20, 2012

Delete images in Android

We want to delete all images in a specific directory(FILE_OUT_DIR), here is the function: In the program, you call: This won't work because Android cache the media files. The files are still in the directory. We have to add: And in AndroidManifest.xml, add:

No comments:

Post a Comment