Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9593 Reply

    Alex Black

    Hi, does PlugPDF offer the ability to embed a viewer in an existing activity? I have an activity with a tab layout, and I’d like to have a tab for viewing a PDF. Can I put a PlugPDF view element in my layout file?

    Alex

    #9595 Reply

    Dr. Plug
    Moderator

    Hello, Alex Black.

    Thank you for the inquiry.
    Actually you can! if you refer a sample named documentViewWirhoutController (ReaderActivity.java file which is in sample folder),
    you can do what you want.

    Best Regards
    Dr.Plug

    #9597 Reply

    Alex Black

    Great, thanks I will take a look. Can most features be turned off or disabled? I am looking for a very minimalist way to preview PDFs, eg just view, zoom and pan.. probably nothing else. No toolbar, no buttons, etc.

    #9599 Reply

    Dr. Plug
    Moderator

    Hello, Alex Black.

    Actually if you want to use a tool bar or button which is in PlugPDF, you have to use a SimpleDocumentReader not ReaderView.
    ( if you refer a ReaderWithCVontrollerActivity.java, you can do what you want.)
    But even if you used a ReaderView, you can do zoom action. i think there is a problem of your project when using a PlugPDF.
    So could you give us a sample project that problem happens?

    Best Regards,
    Dr.Plug

    #9609 Reply

    Alex Black

    I haven’t tried it yet, I’m not sure which problem you are referring to?

    #9611 Reply

    Dr. Plug
    Moderator

    Hello, Alex Black.

    I’m so sorry for my misunderstanding.
    Just forget about the last mention that i wrote before.
    Actually if you refer a sample named documentViewWirhoutController, there are no No toolbar and buttons, etc.
    But you can use a feature like view, zoom and pan.

    Best Regards,
    Dr.Plug

    #9617 Reply

    Alex Black

    Sounds perfect, thanks! I hope to try it out next week.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Embedded viewer
Your information: