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

TOPIC:

the fall of the native 8 years 7 months ago #9623

  • AntonGerasimenko
  • AntonGerasimenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 0
Hello!
Open documents smaller than 740 bytes and the application falls from the native.
If you allocate buffer at the opening of 2048, everything is fine.


byte [] outArray = getOutArray(path); // the PDF file is 740 bytes
Document.PDFStream stream = new PDFMemStream(outArray);
document = new Document();
document.OpenStream(stream, ""); // the fall of the native


Correct the bug.

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

the fall of the native 8 years 7 months ago #9624

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
what version of the library are you using? Can you reproduce this issue with the demo project?
Can you please send us one of these pdf to test it?

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

the fall of the native 8 years 7 months ago #9636

  • AntonGerasimenko
  • AntonGerasimenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 0
My SDK ver (PDFViewer3.4beta7_Android studio) Professional.
My PDF is attached below.,
Attachments:

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

the fall of the native 8 years 7 months ago #9637

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
I have checked your pdf with the last beta version and it works properly!

I suggest you to download the new beta version here: www.radaeepdf.com/download/download-prev...34-radaeepdf-351beta

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

  • Page:
  • 1
Powered by Kunena Forum