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

TOPIC:

Maximum open Documents? 150? 9 years 6 months ago #7473

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
Document.close not free all resources, if Document opened from PDFStream.
there is PDFFileStream.Close() need to invoke after Document.Close().
otherwise file occupied.
and there is another choice:
u can use PDFMemStream instead. int this way, document saved in byte array.

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

Last edit: by .

Maximum open Documents? 150? 9 years 6 months ago #7485

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 50
  • Thank you received: 0
okay, i could try pdfmemstream for opening pdfs.

but what about my example-code and loading bitmaps into documents? how can i avoid the EMFILE-Exception there?

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

Maximum open Documents? 150? 8 years 11 months ago #8855

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Sorry for late reply.
To avoid the issue try looking at this demo project

About file limit: remember you're handling low resource devices.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum