Thumbnail/image cache files?
-
As part of providing better security and privacy for the application I'm writing, I am removing/deleting images and pictures found on my Android device. I am therefore curious to know if there are any cache/thumbnail files created by the OS, for example so that the Gallery app can display a quick preview before the full actual file is processed. If such files are created, then it would be in my interest to pay them some attention
-
Answer:
yes for the images on the gallery there should be thumbnails files also. If some images have not the thumbnails files then Android OS automatically created those files. Using Media.URI you can use those thumbnails files. EDIT: this is the sample code, Cursor cursor = MediaStore.Images.Thumbnails.queryMiniThumbnail( getContentResolver(), selectedImageUri, MediaStore.Images.Thumbnails.MINI_KIND, null ); if( cursor != null && cursor.getCount() > 0 ) { cursor.moveToFirst(). String uri = cursor.getString( cursor.getColumnIndex( MediaStore.Images.Thumbnails.DATA ) ); }
Ian Low at Stack Overflow Visit the source
Related Q & A:
- How To Remove Burstly Image Cache?Best solution by android.net
- How to cache external Javascript files?Best solution by Stack Overflow
- Picasso save image in cache?Best solution by Stack Overflow
- How do i change my thumbnail picture on my youtube video?Best solution by Yahoo! Answers
- Why does my thumbnail turn blue?Best solution by WordPress
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.