- Posts: 15
- Thank you received: 0
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
Which class to use for display?
10 years 9 months ago #9922
by micrad
Which class to use for display? was created by micrad
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?
I found, there are a couple of candidates and the JavaDocs are completely unclear which class does exactly what?
PDFView, PDFViewCurl, PDFLayoutView or PDFGridView?
10 years 9 months ago #9925
by radaee
Replied by radaee on topic Which class to use for display?
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.
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.
10 years 9 months ago #9933
by micrad
Replied by micrad on topic Which class to use for display?
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.
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.
10 years 9 months ago #9934
by micrad
Replied by micrad on topic Which class to use for display?
Fixed by removing
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
from PDFReader Manifest
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
from PDFReader Manifest
Time to create page: 0.438 seconds