Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intent i = new Intent();
- i.setAction(Intent.ACTION_VIEW);
- i.setDataAndType(Uri.fromFile(new File(path)), "application/vnd.android.package-archive" );
- Log.d("ProjectsActivity", "About to install new .apk");
- getApplicationContext().startActivity(i);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement