Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

PDFLayoutView doesn't support SuperDoc

More
IP: 192.168.0.71 8 years 2 months ago #13373 by ate
Hi I've some problems with using SuperDoc and PDFLayoutView in latest version of the library(3.14.5) it is crashing with following error:
Code:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 01-24 09:56:21.478 1864-1864/? A/DEBUG: Build fingerprint: 'Android/sdk_google_phone_x86/generic_x86:7.1/NPF26K/3479480:userdebug/test-keys' 01-24 09:56:21.478 1864-1864/? A/DEBUG: Revision: '0' 01-24 09:56:21.478 1864-1864/? A/DEBUG: ABI: 'x86' 01-24 09:56:21.478 1864-1864/? A/DEBUG: pid: 1832, tid: 1832, name: m.radaee.reader >>> com.radaee.reader <<< 01-24 09:56:21.478 1864-1864/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa00 01-24 09:56:21.478 1864-1864/? A/DEBUG: eax ab322570 ebx 93c54d08 ecx 00000434 edx 00000000 01-24 09:56:21.478 1864-1864/? A/DEBUG: esi 000009ec edi 000009ec 01-24 09:56:21.479 1864-1864/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b 01-24 09:56:21.479 1864-1864/? A/DEBUG: eip 938a166b ebp bfa31218 esp bfa311f0 flags 00010282 01-24 09:56:21.479 1864-1864/? A/DEBUG: backtrace: 01-24 09:56:21.479 1864-1864/? A/DEBUG: #00 pc 0005066b /data/app/com.radaee.reader-2/lib/x86/librdpdf.so 01-24 09:56:21.479 1864-1864/? A/DEBUG: #01 pc 00047536 /data/app/com.radaee.reader-2/lib/x86/librdpdf.so 01-24 09:56:21.479 1864-1864/? A/DEBUG: #02 pc 00047482 /data/app/com.radaee.reader-2/lib/x86/librdpdf.so (Java_com_radaee_pdf_VNPage_create+66) 01-24 09:56:21.479 1864-1864/? A/DEBUG: #03 pc 002b7fd6 /data/app/com.radaee.reader-2/oat/x86/base.odex (offset 0x283000)
I've reproduced the issue in PDFReader sample:

1. I've put test.PDF into Sdcard
2. created SuperDoc like this
Code:
doc = new SuperDoc(new String[]{"/storage/emulated/0/test.PDF", "/storage/emulated/0/test.PDF"},new String[]{});

3. Added resource file file this
Code:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/acpvContainerWrapper" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.radaee.reader.PDFLayoutView android:id="@+id/pdfView" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentLeft="true" android:layout_alignParentTop="true"> </com.radaee.reader.PDFLayoutView> </LinearLayout>

4. tried open
Code:
PDFViewLayout.PDFOpen(doc, null);

tested the doc with ReaderController - it is working fine.

How could I resolve the problem me to resolve the problem?
More
IP: 192.168.0.71 8 years 2 months ago #13374 by Davide
Hi,
our developers are checking that issue.
We'll get back to you as soon as possible.
More
IP: 192.168.0.71 8 years 2 months ago #13388 by nermeen
A new version 3.15RC (that should fix this issue) has been published.
Time to create page: 0.445 seconds
Powered by Kunena Forum