Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.annotation.TargetApi;
import android.app.ActivityManager;

import android.os.Build;

public class Main {
    @TargetApi(Build.VERSION_CODES.HONEYCOMB)
    public static int getLargeMemoryClass(ActivityManager am) {
        return am.getLargeMemoryClass();
    }
}