0 你是什麼離線模式是指在離線模式下安裝方式包? 如果apk文件已經下載/現在,您可以安裝 來源 2014-04-12 09:21:01 Chamu +0 我的意思是如果你在下載文件夾APK如何安裝Android SDK中Manager軟件包沒有互聯網連接 – user3506595 +0 ..你可以用這個作爲,意圖意圖=新意圖(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory()+「/ download /」+「test.apk」)),「application/vnd.android.package-archive」); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); – Chamu
我的意思是如果你在下載文件夾APK如何安裝Android SDK中Manager軟件包沒有互聯網連接 – user3506595
..你可以用這個作爲,意圖意圖=新意圖(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory()+「/ download /」+「test.apk」)),「application/vnd.android.package-archive」); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); – Chamu