How to open encrypted PDF file on Android?

1.9k views Asked by At

I'm using JoanZapata/android-pdfview library to open PDF file. But there is no option to open encrypted PDF file. Are there any other libraries to open PDF files or maybe it is possible with JoanZapata/android-pdfview?

1

There are 1 answers

0
Nermeen On BEST ANSWER

You can use a library like RadaeePDF and open the file using the following code:

Document doc = new Document();
int result = doc.Open(path, password);