android apk的安装

Stringstr="sample1.apk";

StringfileName=Environment.getExternalStorageDirectory()+str;

Intentintent=newIntent(Intent.ACTION_VIEW);

intent.setDataAndType(Uri.fromFile(newFile(fileName)),"application/vnd.android.package-archive");

startActivity(intent);