如何启动已安装的应用程序?
我已使用以下方式安装: File file = new File(dir, "App.apk");
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(file), "application/vnd.android.package-archive");
startActivity(intent);
第二次,我正在检查包是否已经安装,如果是,我想启动。
意图意图 = 新意图(com.example.app);