做app的自动更新时,网上找到了如下代码:Intent i = new Intent(Intent.ACTION_VIEW);
i.setDataAndType(Uri.fromFile(apkfile), "application/vnd.android.package-archive");
context.startActivity(i);
但是这样会出下系统的界面要求确认程序替换、确认安装,又没有什么办法跳过这个界面?