Java tutorial
//package com.java2s; //License from project: Open Source License import java.io.File; import android.os.Environment; import android.os.StatFs; public class Main { static public StatFs getStatFs() { File path = Environment.getDataDirectory(); return new StatFs(path.getPath()); } }