Android Context Get getApplicationInfos(Context context)

Here you can find the source of getApplicationInfos(Context context)

Description

get Application Infos

Declaration

public static List<ApplicationInfo> getApplicationInfos(Context context) 

Method Source Code

//package com.java2s;

import java.util.List;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;

public class Main {
    public static List<ApplicationInfo> getApplicationInfos(Context context) {
        PackageManager pManager = context.getApplicationContext()
                .getPackageManager();//from w w w  . j av  a2 s .  co  m
        return pManager
                .getInstalledApplications(PackageManager.GET_UNINSTALLED_PACKAGES);
    }
}

Related

  1. getAndroidDBDir(Context context)
  2. getAnimId(Context paramContext, String paramString)
  3. getApp(Context ctx, String packageName)
  4. getAppKey(Context context)
  5. getAppVersion(Context context)
  6. getApplicationMemoryClass(@Nonnull Context context)
  7. getApplicationMetaData(Context context, String key)
  8. getApplicationName(Context ctx)
  9. getAsset(@Nonnull Context context, @Nonnull String path)