Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

SuperDoc 4 years 9 months ago #14450

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 50
  • Thank you received: 0
Hi,
Can you show us the usage of SuperDoc? It's not used in your demo-project.
Thanks!
Lukas

Please Log in or Create an account to join the conversation.

SuperDoc 4 years 9 months ago #14451

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
SuperDoc is wrap of Document list.
imaging that you have 10 PDF file, each has single page.
if you want display 10 PDF files in PDFLayoutView, you may need merge 10 PDF file to 1 PDF file.
SuperDoc manage 10 PDF files like 1 PDF file.
codes shall like:
String paths[] = new String["sdcard/1.pdf", "sdcard/2.pdf"];
String pswds[] = new String["password1", "password2"];
SuperDoc doc = new SuperDoc(paths, pswds);
PDFGLLayoutView view = (PDFGLLayoutView)findViewByID(R.id.pdf_view);
view.PDFOpen(doc, listener);
...

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum