Android examples for App:Package
get Install Location by package
//package com.java2s; import android.content.Context; public class Main { public static String getInstallLocation(Context context) { return context.getPackageManager().getInstallerPackageName( context.getPackageName()); }/*from w w w . j ava2 s . c o m*/ }