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

TOPIC:

PDF viewer library on Android 5 9 years 4 months ago #7921

  • smanolakis
  • smanolakis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I've been using your library for a couple of years without any issues. I recently installed my App on a device running Android 5 and the Document.OpenStream method returns a large negative integer instead of the normal values (0, -1, -2, -3, -10). This only happens on a device (Nexus 10) running Android 5, everything works fine on previous versions of Android.
What could be the issue?

Thank you

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

PDF viewer library on Android 5 9 years 4 months ago #7928

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
did you upgrade to ver 3.1 or later?
ver 3.1 has much interfaces changed. all handle value changed to 64 bits integer.
due to support 64 bits Android.
so, you need to replace all java codes of "com.radaee.pdf" and "com.radaee.view".
and replace "libs" subdir.

you'd better test last demo projct first.

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

Last edit: by .

PDF viewer library on Android 5 9 years 4 months ago #7999

  • smanolakis
  • smanolakis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hello,

I've made all the changes in "com.radaee.pdf" and "com.radaee.view" and replaced "libs" subdir. Now the reader starts on Android 5.0 showing the first page of the pdf file but when I change page nothing is displayed and no exception is thrown. Could you think of a reason why this would happen?

I ran the PDFHttpDemo on Android 5.0 and it works fine.


Thank you

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

PDF viewer library on Android 5 9 years 4 months ago #8002

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
replace package "com.radaee.view" ?

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

PDF viewer library on Android 5 9 years 4 months ago #8050

  • davidengler
  • davidengler's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi,

We purchased android library on april 2013, I think was 2.7.x, and we made some customizations.
Is it possible to get this library in order to compare the changes, so we can implement them with the new library?

Thanks

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

PDF viewer library on Android 5 9 years 4 months ago #8061

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You can download the latest version from the download section, the update to a newwer version is for free.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum