Java tutorial
//package com.java2s; import java.io.File; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void installApp(Context context, File apkFile) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setDataAndType(Uri.fromFile(apkFile), "application/vnd.android.package-archive"); context.startActivity(intent); } }