Java tutorial
//package com.java2s; //License from project: Apache License import android.content.Context; public class Main { private static String getAppName(Context context, int pID) { return context.getApplicationInfo().name; } }