如何在一个程序中安装另一个程序 http://topic.csdn.net/u/20101011/23/8c298078-f1d5-4d02-af2f-4f70cf4493e5.html?89338这个帖子也是类似的问题 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 // 启动APK安装 Intent intent = new Intent(Intent.ACTION_VIEW); String strPath = imFile.getAbsolutePath(); //getApplicationContext().getFileStreamPath(strName).getAbsolutePath(); Log.i(TAG, strPath); intent.setDataAndType(Uri.parse("file://"+ strPath), "application/vnd.android.package-archive"); startActivity(intent); 可以这样String strPath = getApplicationContext().getFileStreamPath(strName).getAbsolutePath();自己指定一下目录 android客户端交互.NET服务器 ubuntu下可以导出代码UML图的工具有那些! 如何用正则表达式过滤掉除了某个标签以外的所有的xml标签 android中如何在界面右下角弹出类似QQ的提示消息 android ImageView 图片旋转? listView 长按某子项目的问题. Android小程序(新手) android怎么创建图片文件?? android的DDMS报错的问题,有什么解决方案!? 求教Android开发中HttpURLConnection的网络连接问题 Android中如何调试C/C++代码 下拉框效果
// 启动APK安装
Intent intent = new Intent(Intent.ACTION_VIEW);
String strPath = imFile.getAbsolutePath(); //getApplicationContext().getFileStreamPath(strName).getAbsolutePath();
Log.i(TAG, strPath);
intent.setDataAndType(Uri.parse("file://"+ strPath), "application/vnd.android.package-archive");
startActivity(intent);
String strPath = getApplicationContext().getFileStreamPath(strName).getAbsolutePath();
自己指定一下目录