get Application Info from Content - Android App

Android examples for App:App Information

Description

get Application Info from Content

Demo Code


//package com.java2s;

import android.content.Context;

import android.content.pm.ApplicationInfo;

public class Main {

    public static ApplicationInfo getApplicationInfo(Context context) {
        return context.getApplicationInfo();
    }//from   w  ww.  j  av a  2 s .c  o  m
}

Related Tutorials