show App Details - Android App

Android examples for App:APK Information

Description

show App Details

Demo Code


//package com.java2s;

import android.content.Context;
import android.content.Intent;

import android.net.Uri;

public class Main {
    public static void showAppDetails(Context a, String strPackageName) {
        Uri uri = Uri.parse("market://details?id=" + strPackageName);
        Intent it = new Intent(Intent.ACTION_VIEW, uri);
        a.startActivity(it);/* w  w  w  . j a  v a 2s . c  o m*/
    }
}

Related Tutorials