Code ••• StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().build()); Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE); intent.setData(Uri.fromFile(new java.io.File( Environment.getExternalStorageDirectory(), "your_folder/your_apk_name.apk"))); startActivity(intent); Permission android.permission.REQUEST_INSTALL_PACKAGES Tutorial ••• https://youtu.be/WXruCt_UQnI IT Ye Phyo (Information Technology)
Comments
Post a Comment