Saturday, February 8, 2014
Under android how statistical SD card file information
Achieve statistical information in the file manager functionality
Image files take XXX MB
Video files take up XXX MB
Compressed files occupy XXX MB
Will the calculation of these files take up space to themselves to traverse folders and computing are still available for existing api calls
Reply:
android has a feature which is traversing the external data storage, you can search through all the things you want, and then you go through the code to add those file size on the line, this class looks like ContentResolver, then Cursor to traverse the entire storage device
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment