File apkFile = new File(apk파일경로);
if(apkFile.exists() == true ){
Intent intent2 = new Intent(Intent.ACTION_VIEW);
intent2.setDataAndType( Uri.fromFile(apkFile), "application/vnd.android.package-archive");
this.startActivity(intent2);
}
안드로이드에서 APK 설치하게 해주는 명령
답글 남기기