Frequently Asked Question
How to open pdf from url?
Last Updated 11 months ago
This article shows you how to open a pdf from a specific url.
With that call you assign the RadaeePDFManager to open and show the pdf from the link :
String http_link = "YOUR_HTTP_LINK"; String pdf_pswd = "YOUR_PDF_PASSWORD"; RadaeePDFManager mPDFManager = new RadaeePDFManager(); mPDFManager.show(this, http_link, pdf_pswd);
With that code you open the pdf stream :
PDFHttpStream m_http_stream = new PDFHttpStream(); m_http_stream.open(http_link); Document m_doc = new Document(); int ret = m_doc.OpenStream(m_http_stream, pdf_pswd); ProcessOpenResult(ret);