Currently I have a pdf url, and I would like to simply using the intent to open it, however, it does not work if I put the url in intent
url
intent
you can view PDF in web view like this
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse( "http://docs.google.com/viewer?url=" + pdfLink), "text/html"); startActivity(intent);