Code example for ActivityManager.MemoryInfo

Methods: getMemoryInfo

0
			throw new UnsupportedOperationException("Could not retrieve ActivityManager");
		return result;
	} 
	 
	public static MemoryInfo getMemoryInfo(Context _context) {
		MemoryInfo info = new MemoryInfo();
		getActivityManager(_context).getMemoryInfo(info);
		return info;
	} 
	 
	public static void showDocumentation(Context c) {
		c.startActivity(docIntent);
	} 
 
	private static int nextNoticeID = 0;
	public static int nextNoticeID() { 
		nextNoticeID++;
		return nextNoticeID;
	} 
 
	public static void showErrorMessage(Context _context, String message) {