over 9 years ago
I have written code to know free space in sdcard
Here I use StatFs class to do this. I just multiple available blocks which I got from getAvailableBlocks() and block size from getBlockSize().
StatFs st = new StatFs(Environment.getExternalStorageDirectory().getPath()); double available_space = (double)st.getAvailableBlocks() *(double)st.getBlockSize(); double available_space_in_gb = (avail_sd_space / 1073741824); System.out.println("11111111 Available space gb : " +available_space_in_gb);
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)