package manager 썸네일형 리스트형 apk install File apkFile = new File("/sdcard/UpgradeTest.apk"); if (apkFile == null) { Log.i(TAG, "file is null"); } Uri uri = Uri.fromFile(apkFile); Intent it = new Intent(Intent.ACTION_VIEW, uri); it.setData(uri); it.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_ACTIVITY_NEW_TASK); it.setClassName("com.android.packageinstaller", "com.android.packageinstaller.PackageInstallerActivity"); star.. 더보기 이전 1 다음