Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; import java.io.File; public class Main { public static void intallApk(Context context, String filePath) { File apkfile = new File(filePath); if (!apkfile.exists()) return; Intent i = new Intent(Intent.ACTION_VIEW); i.setDataAndType(Uri.parse("file://" + apkfile.toString()), "application/vnd.android.package-archive"); context.startActivity(i); } }