/Mnt/sdcard/dcim/. thumbnails/. thumbdata3 -- 1967290299 the details of this file are described as follows:
Access this file through the interface provided by the minithumbfile. Java file.
The saveminithumbtofile stores the thumbnail in this file.
Getminithumbfromfile extracts the thumbnail from this file.
This file name comes from the directory name + "/. thumbdata" + version + "-" + muri. hashcode () of the SD card. The version is usually mini_thumb_data_file_version.
This file stores a series of small graph data volumes, each of which contains a small JPEG and header information, plus the filled 0. Each volume is 10000 bytes (bytes_per_minthumb = 1000 ).
If the size of the JPEG to be stored exceeds 10000 bytes, give up. The header information contains 13 Bytes: the first byte is 0x01, 2nd to 9 bytes is a random number known as magic, and 10th to 13 bytes are followed by the number of JPEG bytes.
| 01 | magic | fig | JPEG bytes | Padding Bytes 0... |
. Thumbdata3 -- 1967290299 stores micro kind (Android. provider. mediastore. images. thumbnails. micro_kind) the size of a small image is 96X96 (target_size_micro_thumbnail). All images generate such a small image. Each small image occupies a volume of 10000 bytes in this file.
There is also a small 512*384 image, for Android. provider. mediastore. images. thumbnails. the mini_kind type is directly stored as a jpeg in/mnt/sdcard/dcim /. A series of JPEG values in thumbnails/are them.
/Mnt/sdcard/dcim /. thumbnails /. thumbdata3 -- 1967290299 is directly accessed by three processes, namely camera, gallery, and mediaprovider. Therefore, processkiller kill the SD card when they are unplugged.
The above analysis is based on the source code of android2.3.4.