安装应用程序并获得结果

时间:2011-05-20 06:43:00

标签: android

我在我的设备上安装了一个应用程序:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(apk_file, "application/vnd.android.package-archive");

但我怎样才能收到安装结果(安装app或用户取消安装)

1 个答案:

答案 0 :(得分:0)

点击此链接,这对我http://www.xinotes.org/notes/note/1335/

非常有帮助