Example usage for android.content Intent ACTION_SHOW_APP_INFO

List of usage examples for android.content Intent ACTION_SHOW_APP_INFO

Introduction

In this page you can find the example usage for android.content Intent ACTION_SHOW_APP_INFO.

Prototype

String ACTION_SHOW_APP_INFO

To view the source code for android.content Intent ACTION_SHOW_APP_INFO.

Click Source Link

Document

Activity Action: Launch an activity showing the app information.

Usage

From source file:Main.java

public static Intent getAppStoreLink(Context context, String installerPackageName, String packageName) {
    Intent intent = new Intent(Intent.ACTION_SHOW_APP_INFO).setPackage(installerPackageName);
    final Intent result = resolveIntent(context, intent);
    if (result != null) {
        result.putExtra(Intent.EXTRA_PACKAGE_NAME, packageName);
        return result;
    }// w  w  w .j  a v  a2  s  . c o m
    return null;
}