从https打开adobe阅读器中的pdf

时间:2014-11-27 12:45:52

标签: android pdf adobe-reader

这给了我吐司留言错误:Document could not be opened

Intent adobeIntent = getPackageManager().getLaunchIntentForPackage("com.adobe.reader");
if (adobeIntent != null) {
    adobeIntent.setDataAndType(Uri.parse("https://www.adobe.com/enterprise/accessibility/pdfs/acro6_pg_ue.pdf"), "application/pdf");
    startActivity(adobeIntent);
}

这很好用:

Intent adobeIntent = getPackageManager().getLaunchIntentForPackage("com.adobe.reader");
if (adobeIntent != null) {
    adobeIntent.setDataAndType(Uri.parse("http://www.adobe.com/enterprise/accessibility/pdfs/acro6_pg_ue.pdf"), "application/pdf");
    startActivity(adobeIntent);
}

我错过了一个参数还是根本不可能?

0 个答案:

没有答案