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 webview like this
WebView webView = (WebView) findViewById(R.id.webview); webView.getSettings().setJavaScriptEnabled(true); webView.getSettings().setPluginsEnabled(true); webView.loadUrl("https://docs.google.com/viewer?"+pdf_url);