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?

More
10 years 9 months ago #9922 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?
More
10 years 9 months ago #9925 by radaee
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.
More
10 years 9 months ago #9933 by micrad
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.
More
10 years 9 months ago #9934 by micrad
Fixed by removing
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
from PDFReader Manifest
Time to create page: 0.438 seconds
Powered by Kunena Forum