public class PdfHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
PdfHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
checkAndWarn(android.content.Context context,
java.lang.String file)
Checks to see if adobe is installed and present.
|
static boolean |
isInstalled(android.content.Context context,
java.lang.String pkg)
Helper function used by most users of the PdfHelper to see if adobe or another pdf reader is
installed.
|
static void |
launchAdobe(android.content.Context context,
java.lang.String file)
Helper function that is used to launch Adobe or some other PDF reader.
|
public static final java.lang.String TAG
public static boolean isInstalled(android.content.Context context, java.lang.String pkg)
context
- context used to check if something is installed.pkg
- the package namepublic static void launchAdobe(android.content.Context context, java.lang.String file)
context
- the context used to launch the application.file
- the file to use when launching the activitypublic static void checkAndWarn(android.content.Context context, java.lang.String file)