Which class to use for display? - 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...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Which class to use for display?

Which class to use for display? 2 years 11 months ago #9922

  • micrad
  • micrad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Which class should I use as the base of displaying a PDF inside a fragment?

I found, there are a couple of candidates and the JavaDocs are completely unclear which class does exactly what?

PDFView, PDFViewCurl, PDFLayoutView or PDFGridView?

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

Which class to use for display? 2 years 11 months ago #9925

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
PDFView is base class ith empty implement.
PDFViewCurl is derived class from PDFView.
these 2 classes used in Module PDFReader
PDFLayoutView used in Module RDPDFReader, which support very large zoom scales.

PDFGridView display first page of all pdf files under a path.

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

Which class to use for display? 2 years 11 months ago #9933

  • micrad
  • micrad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I see. I studied the PDFReaderAct in the demo.

So, I assume, to use the com.radaee.reader.PDFReader class, I need to import it as a module in Android Studio, the same way I did with ViewLib.
However, when I do this:
I change PDFReader Module to be a library instead of application, fix an issue with the manifest merger change the launch configuration to use my app's main activity, I am getting DUPLICATE app icons!

Please advice, how to fix that.

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

Which class to use for display? 2 years 11 months ago #9934

  • micrad
  • micrad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Fixed by removing
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
from PDFReader Manifest

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

  • Page:
  • 1
Powered by Kunena Forum