Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
/**
 * Copyright 2010 CssWeb Microsystems, Inc. All rights reserved.
 * CssWeb PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * @(#)ActivityUtil.java ?08:07:55 2010-10-3
 */

import android.app.Activity;

import android.util.DisplayMetrics;

public class Main {
    public static DisplayMetrics getDisplayInfo(Activity paramActivity) {
        return paramActivity.getResources().getDisplayMetrics();
    }
}