安装程序的方法: .通过Intent机制,调出系统安装应用,重新安装应用的话,会保留原应用的数据. 1. String fileName =Environment.getExternalStorageDirectory() +apkName; 2. Uri uri = Uri.fromFile(new File(fileName)); 3. Intent intent =newIntent(Intent.ACTION_VIEW); 4. intent.setDataAndType(uri,"ap…