the solution mentioned on github.com/jblough/Android-Pdf-Viewer-Library/issues/8 worked for me , i was doing changes in src folder of PDF viewer but my app was still referencing jar (which did not have that changes)
android pdf viewer stackoverflow error while reading password protected file
Domanda
i am able to read normal pdf file which does not have any password properly using pdfviewer.jar, however when i try to read password protected file i get java.lang.StackOverflowError
.
can any one tell me what is wrong ?
following is the code
Intent intent = new Intent(this, MyPdfViewerActivity.class);
intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME,"mnt/sdcard/sample.pdf");
startActivity(intent);
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow