これをテキストビューに入れるにはどうすればよいですか?
ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
MemoryInfo memoryInfo = new ActivityManager.MemoryInfo();
activityManager.getMemoryInfo(memoryInfo);
memoryInfo.availMem;
テキストビュー ID は、たとえばfreemem
. textview は swipeview.thans の 2 番目のタブにあります