1 private void installAPK(File t) { 2 Intent intent = new Intent("android.intent.action.VIEW"); 3 intent.setDataAndType(Uri.fromFile(t), "application/vnd.android.package-archive"); 4 startActivity(intent); 5 } 6