Android PDF lib not working on some tablets - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.

TOPIC: Android PDF lib not working on some tablets

Android PDF lib not working on some tablets 4 years 3 months ago #6715

  • ffvanderlaan2
  • ffvanderlaan2's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Karma: 1
  • 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 4 years 3 months ago #6716

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
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 4 years 3 months ago #6728

  • ffvanderlaan2
  • ffvanderlaan2's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Karma: 1
  • 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 4 years 3 months ago #6730

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
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 4 years 3 months ago #6732

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12

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

Android PDF lib not working on some tablets 4 years 3 months ago #6738

  • ffvanderlaan2
  • ffvanderlaan2's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Karma: 1
  • 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