Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.

TOPIC:

Android PDF lib not working on some tablets 9 years 8 months ago #6715

  • ffvanderlaan2
  • ffvanderlaan2's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
Customers with "Empire Electronix" tablets are complaining that all PDF pages are white.
Most have the Empire Electronix M1009, I have obtained an Empire Electronix M785, it has the same problem.
I tried my own app, I tried the in-lib example activities, and I tried the Radaee PDF reader from the Play Store. All display white pages on every PDF I try, on this tablet.

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

Last edit: by Rignanese.

Android PDF lib not working on some tablets 9 years 8 months ago #6716

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
is it possible to test Page.RenderToBMP directly?
we suspect, jvm is the problem.

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

Android PDF lib not working on some tablets 9 years 8 months ago #6728

  • ffvanderlaan2
  • ffvanderlaan2's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
In my app I use libPage.RenderToBmp(targetBitmap, displayMatrix);

I am not using the PDFReader class.

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

Last edit: by Rignanese.

Android PDF lib not working on some tablets 9 years 8 months ago #6730

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
are RenderToBmp return false?
are Bitmap can't be RGBA_8888 format in some devices?
or check save Bitmap as image and check it?

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

Android PDF lib not working on some tablets 9 years 8 months ago #6732

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73

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

Android PDF lib not working on some tablets 9 years 8 months ago #6738

  • ffvanderlaan2
  • ffvanderlaan2's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
Thank you for your response.
1. are RenderToBmp return false? => yes, false
2. are Bitmap can't be RGBA_8888 format in some devices? => I now also tried ARGB_4444, ALPHA_8 and RGB_565, same result. Not sure if this test was done correctly.
3. or check save Bitmap as image and check it? => I did, the saved file is also completely white and has the size of a page in my app.
4. I tried with hardware accelaration off, same result
Note that the pages are white because my bitmap is cleared white (eraseColor(0xFFFFFFFF)) before I call RenderToBmp, just as you probably do in your app. Otherwiste the bitmap is transparent.

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

Last edit: by Rignanese.
Powered by Kunena Forum