Java tutorial
//package com.java2s; //License from project: Apache License import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Environment; public class Main { public static void installApkFromLocalPath(Activity activity, String apkname) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setDataAndType( Uri.parse("file://" + Environment.getExternalStorageDirectory() + "/ewgvip/" + apkname), "application/vnd.android.package-archive"); activity.startActivity(intent); } }