Android: How do you get internal Total/Available memory?
问题 There's a difference between RAM memory and internal flash memory right? I can get RAM memory by: cat /proc/meminfo However, I am not sure how to get Flash memory information. I think I know how to get available memory: ActivityManager activityManager = (ActivityManager).getSystemService(Context.ACTIVITY_SERVICE); MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); activityManager.getMemoryInfo(memoryInfo); memoryInfo.availMem; Does this give available internal Flash memory? How about