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

TOPIC:

Multiple pages in single pdf 6 years 7 months ago #12868

  • chandu@ibeesolutions.com
  • chandu@ibeesolutions.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
Hi,
1. Which is the best practice ,whether having single pdf file with multiple pages or separate pdf file for each page ?
2. If Single file with multiple pages is good practice then in case of large size files( For ex.10MB or more) will not have any problem?
3. And What is the preferred file size?? we are going to have max 16 pages.

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

Multiple pages in single pdf 6 years 7 months ago #12869

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
1. Best way to handle single page pdfs should be adopting ViewPager layout.
Each page should have an independent download process. Actual demo instantiates each page with a different pageNo inside it, you should tie each page to an independent doc and open it independently.
The approach is really memory consuming.

2. during our tests we managed pdf files with size exceeding 2Gbs. No matter about 10Mbs files.

3. during our tests we managed pdf files with more than 10.000 pages.

Will you work with file loaded from file system or from http streams?
The file system approach should be better mostly due to performances.
If you're interested in file protection I suggest you to adopt PDF AES encryption scheme: it's standard and optimized to access quickly from page to page in a randomic way.

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

Multiple pages in single pdf 6 years 7 months ago #12870

  • chandu@ibeesolutions.com
  • chandu@ibeesolutions.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
1. Best way to handle single page pdfs should be adopting ViewPager layout.
Each page should have an independent download process. Actual demo instantiates each page with a different pageNo inside it, you should tie each page to an independent doc and open it independently.
The approach is really memory consuming.

Can you please provide any demo for independent download process?

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

  • Page:
  • 1
Powered by Kunena Forum