package kr.mog.android.lib.utils;

import android.app.ActivityManager;
import android.app.ActivityManager.MemoryInfo;
import android.content.Context;

public class MemoryUtill {
	
	public static int getMemoryClass(Context context) {
		ActivityManager _activityManager = (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
		
		return _activityManager.getMemoryClass();
	}
	
	public static MemoryInfo getMemoryInfo(Context context) {
		ActivityManager _activityManager = (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
		
		MemoryInfo outInfo = new ActivityManager.MemoryInfo();
		 _activityManager.getMemoryInfo(outInfo);
		 
		return outInfo;
	}
}

@@ -150,16 +150,83 @@
 ext;%0D%0A%0D%0A
+%0D%0A/**%0D%0A *%0D%0A *%0D%0A * Created by hmj on 2015. 3. 4.  2:02:09%0D%0A *%0D%0A */%0D%0A
 public c

add class comment