- Posts: 10
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Here you should submit your bug reports with logcat.
Android PDF lib not working on some tablets
- ffvanderlaan2
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
11 years 7 months ago - 11 years 7 months ago #6715
by ffvanderlaan2
Android PDF lib not working on some tablets was created by ffvanderlaan2
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.
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.
Last edit: 11 years 7 months ago by Rignanese.
IP: 192.168.0.71
11 years 7 months ago #6716
by radaee
Replied by radaee on topic Android PDF lib not working on some tablets
is it possible to test Page.RenderToBMP directly?
we suspect, jvm is the problem.
we suspect, jvm is the problem.
- ffvanderlaan2
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
IP: 192.168.0.71
11 years 7 months ago - 11 years 7 months ago #6728
by ffvanderlaan2
Replied by ffvanderlaan2 on topic Android PDF lib not working on some tablets
In my app I use libPage.RenderToBmp(targetBitmap, displayMatrix);
I am not using the PDFReader class.
I am not using the PDFReader class.
Last edit: 11 years 7 months ago by Rignanese.
IP: 192.168.0.71
11 years 7 months ago #6730
by radaee
Replied by radaee on topic Android PDF lib not working on some tablets
are RenderToBmp return false?
are Bitmap can't be RGBA_8888 format in some devices?
or check save Bitmap as image and check it?
are Bitmap can't be RGBA_8888 format in some devices?
or check save Bitmap as image and check it?
IP: 192.168.0.71
11 years 7 months ago #6732
by radaee
Replied by radaee on topic Android PDF lib not working on some tablets
maybe this is real reason:
stackoverflow.com/questions/11994129/col...rgba-8888-everywhere
stackoverflow.com/questions/11994129/col...rgba-8888-everywhere
- ffvanderlaan2
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
IP: 192.168.0.71
11 years 7 months ago - 11 years 7 months ago #6738
by ffvanderlaan2
Replied by ffvanderlaan2 on topic Android PDF lib not working on some tablets
Thank you for your response.
1. are RenderToBmp return false? => yes, false
2. are Bitmap can't be RGBA_8888 format in some devices? => [strike]I now also tried ARGB_4444, ALPHA_8 and RGB_565, same result.[/strike] 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.
1. are RenderToBmp return false? => yes, false
2. are Bitmap can't be RGBA_8888 format in some devices? => [strike]I now also tried ARGB_4444, ALPHA_8 and RGB_565, same result.[/strike] 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.
Last edit: 11 years 7 months ago by Rignanese.
Time to create page: 0.435 seconds