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

TOPIC:

Load single page from large PDF 9 years 10 months ago #6427

  • stuartsoftAR
  • stuartsoftAR's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
I'm currently working with the Android SDK ver 2.9.9. I have a 100+ page PDF in my app as a reference guide for the user. I want to be able to display ONE specific page in the pdf without rendering all 100 pages. It takes 90 seconds to load and display the entire pdf, so I need a way to only send the page I want to the PDFview for displaying. I'm currently using the PDFReader from the preview SDK to display my content. Any help is appreciated.

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

Load single page from large PDF 9 years 10 months ago #6430

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
are demo project open this PDF file need 90 seconds?
or do you rendered all pages in manual way?

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

Last edit: by .

Load single page from large PDF 9 years 10 months ago #6439

  • stuartsoftAR
  • stuartsoftAR's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
I'm using the PDFReader class from the demo project. Again, I need to be able to open and display a single page at a time from a 100+ page pdf. Is there any way to prevent the class from rendering the other 99 pages that aren't currently on the screen?

For reference, I've already set the global.render_mode to draft and I'm still getting abysmal load times.

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

Last edit: by Vinoth.

Load single page from large PDF 9 years 10 months ago #6441

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
PDFReader only render the pages on screen.

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

Load single page from large PDF 9 years 10 months ago #6444

  • stuartsoftAR
  • stuartsoftAR's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Well, then what can I do to improve performance? 90 seconds is far too long to load a pdf.

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

  • Page:
  • 1
Powered by Kunena Forum