Android 之安装APK

Intent intent = new Intent(Intent.ACTION_VIEW);  
intent.setDataAndType(Uri.fromFile(new File("/sdcard/SafeMgr_Android_V1.5.32_Update.apk")), "application/vnd.android.package-archive");  
startActivity(intent); 

你可能感兴趣的:(android)