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

TOPIC:

PDFLayoutView doesn't support SuperDoc 7 years 3 months ago #13373

  • ate
  • ate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
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:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
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
doc = new SuperDoc(new String[]{"/storage/emulated/0/test.PDF",
        "/storage/emulated/0/test.PDF"},new String[]{});

3. Added resource file file this
<?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
PDFViewLayout.PDFOpen(doc, null);

tested the doc with ReaderController - it is working fine.

How could I resolve the problem me to resolve the problem?
Attachments:

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

PDFLayoutView doesn't support SuperDoc 7 years 3 months ago #13374

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
our developers are checking that issue.
We'll get back to you as soon as possible.

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

PDFLayoutView doesn't support SuperDoc 7 years 3 months ago #13388

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
A new version 3.15RC (that should fix this issue) has been published.

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

  • Page:
  • 1
Powered by Kunena Forum