Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Load single page from large PDF

More
IP: 192.168.0.71 11 years 11 months ago #6427 by stuartsoftAR
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.
More
IP: 192.168.0.71 11 years 11 months ago - 11 years 11 months ago #6430 by radaee
are demo project open this PDF file need 90 seconds?
or do you rendered all pages in manual way?
Last edit: 11 years 11 months ago by .
More
IP: 192.168.0.71 11 years 11 months ago - 11 years 11 months ago #6439 by stuartsoftAR
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.
Last edit: 11 years 11 months ago by Vinoth.
More
IP: 192.168.0.71 11 years 11 months ago #6441 by radaee
PDFReader only render the pages on screen.
More
IP: 192.168.0.71 11 years 11 months ago #6444 by stuartsoftAR
Well, then what can I do to improve performance? 90 seconds is far too long to load a pdf.
Time to create page: 0.520 seconds
Powered by Kunena Forum