2013年11月27日 星期三

[Android] Call another APK file

        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setDataAndType(Uri.fromFile(new
        File(Environment.getExternalStorageDirectory() + "/path/"
        + "app_apk.apk")), "application/vnd.android.package-archive");
        CurrentActivity.this.startActivity(intent);

沒有留言:

張貼留言