Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8673 Reply

    Alex

    I’m getting this Fatal Exception, java.lang.IllegalStateException: No file or URI to install from, when trying to open a file with PDFDocument from within a very simple app.

    Attached below is a sample Java snippet throwing that exception.

    http://pastebin.com/LKM018HL

    http://pastebin.com/5NF5fYfQ

    Could please someone have a look at this code and tell me whether it is ok or I am missing something?

    #8676 Reply

    Alex

    Oh, my God! Everything works like a charm. I forgot to initialize the PlugPDF SDK in the main activity’s onCreate method!

    #8738 Reply

    Dr. Plug
    Moderator

    Hello Alex,

    Thank you for finding the answer by yourself.
    if you have a further question, do not hesitate and contact us please.

    Best Regards,
    Dr.Plug

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: java.lang.IllegalStateException when using new PDFDocument
Your information: