这给了我吐司留言错误: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);
}
我错过了一个参数还是根本不可能?