I have seen this similar question here but those were asked long time ago , My apk is not on Google play and I also not intend to do so. My first question is that "Is it possible ?" If yes then how to proceed. I tried this one
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(
Uri.parse("file:///sdcard/app.apk"),
"application/vnd.android.package-archive");
startActivity(intent);
But it results in a screen which asks user to install it, I want to skip that page. If it's not possible then for the sake of knowledge how it happens from Google play or from the ADB command. Can't we run the adb command from app.