I am trying to create an intent that would open a pdf file on the web (a url) in a pdf reader. It seems to only work if the file is local.
I know this is going to depend on whether or not any of the installed apps can handle urls, but since I have several pdf readers installed (some of them claim they can read pdfs on the web) and none of them are responding I wanted to see if there was something wrong with my intent.
Here is what I am currently using:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(url), "application/pdf");
Thanks