android apk的安装

String str = "sample1.apk";
String fileName = Environment.getExternalStorageDirectory() + str;
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(fileName)), "application/vnd.android.package-archive");
startActivity(intent);

更多相关文章

  1. android apk的安装
  2. 提升基于英特尔® 架构的 Android* 模拟器的速度
  3. android apk的安装
  4. 提升基于英特尔® 架构的 Android* 模拟器的速度
  5. Android初步(开发环境的搭建)
  6. Android(安卓)安装环境搭建
  7. android sdk 下载地址
  8. android sdk 下载地址
  9. Android应用程序的安装位置

随机推荐

  1. 获取apk签名信息
  2. android动态加载apk
  3. Android(安卓)Bitmap图片缩放优化,用canva
  4. Android ApiDemos示例解析(21):App->Devic
  5. android下拉刷新 & 强制刷新notifyDataSe
  6. [Android]开源性能测试工具antool
  7. MagicWindowSDK 使用文档(Android)
  8. zip解压缩的使用
  9. Android 实时视频编码—H.264硬编码
  10. Android各版本特性比较