Código:
Si alguien sabe algo de esto por más mínimo que sea se lo agradecería mucho, todo suma. Muchas gracias! private void installApk(File apkFile)
{
Intent intent = new Intent(Intent.ACTION_VIEW);
try
{
String[] command = {"chmod", "777", apkFile.toString()};
ProcessBuilder builder = new ProcessBuilder(command);
builder.start();
}
catch (IOException ignored)
{
}
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setDataAndType(Uri.fromFile(apkFile), "application/vnd.android.package-archive");
mContext.startActivity(intent);
}


