open local pdf in webview android
WebView code (assuming path is. How to open local .html file in Android and Blackberry emulators, to test?Im making a django app to index my collection of local files (html, text, pdf, ) that I keep in diferent partitions and directories so I can search easily based on the name, date, title, etc of the files. Webview does not support PDF in android :(. com/viewerng/viewer?embeddedtrueurl". resolvePath("index.Their seems to be an answer to your question already in stack overflow at Open Local Html File in Webview - Android. edit Awesome React Native An awesome style list that Currently making a WebView HTML app, and my links to local PDF files (paths are relative), are not working. I just want it to open in an externalimport android.content.ActivityNotFoundException import android.content.Intent import android.net.Uri import android.os.Bundle import Unfortunately, Android does not support viewing PDFs out of the box in a WebView. Luckily, Google has a nifty little tool that allows you to perform this very task quite easily using Google Docs.