I'm trying to open a pdf file from a server in adobe reader. These are valid pdfs that I can view in other apps. The following code gives me a message saying "The document could not be opened" Any ideas why?
PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.adobe.reader");
intent.setDataAndType(Uri.parse(documents.get(position).getPdf_url()), "application/pdf");
startActivity(intent);
DownloadManager
– Lukas Knuth