java.lang.Object | |||
↳ | AppCompatActivity | ||
↳ | com.pdftron.pdf.controls.DocumentActivity | ||
↳ | com.pdftron.demo.app.SimpleReaderActivity |
SimpleReaderActivity is derived from DocumentActivity
.
and is an all-in-one document reader and PDF editor. UI can be configured via class
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.controls.DocumentActivity
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.controls.DocumentActivity
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SimpleReaderActivity() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void | open(Context packageContext, ViewerConfig config, boolean newUi) | ||||||||||
static void |
open(Context packageContext, ViewerConfig config)
Opens a built-in sample document with custom configuration.
| ||||||||||
static void |
open(Context packageContext)
Opens a built-in sample document with default configuration.
| ||||||||||
static void |
openDocument(Context packageContext, Uri fileUri)
Opens a file from Uri with empty password and default configuration.
| ||||||||||
static void |
openDocument(Context packageContext, Uri fileUri, ViewerConfig config)
Opens a file from Uri with empty password and custom configuration.
| ||||||||||
static void | openDocument(Context packageContext, Uri fileUri, String password, ViewerConfig config, boolean newUi) | ||||||||||
static void |
openDocument(Context packageContext, int resId)
Opens a file from resource id with empty password and default configuration.
| ||||||||||
static void |
openDocument(Context packageContext, Uri fileUri, String password, ViewerConfig config)
Opens a file from Uri with password and custom configuration.
| ||||||||||
static void |
openDocument(Context packageContext, int resId, String password, ViewerConfig config)
Opens a file from resource id with password and custom configuration.
| ||||||||||
static void |
openDocument(Context packageContext, int resId, String password)
Opens a file from resource id with password and default configuration.
| ||||||||||
static void |
openDocument(Context packageContext, int resId, ViewerConfig config)
Opens a file from resource id with empty password and custom configuration.
| ||||||||||
static void |
openDocument(Context packageContext, Uri fileUri, String password)
Opens a file from Uri with password and default configuration.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.controls.DocumentActivity
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.controls.PdfViewCtrlTabHostBaseFragment.TabHostListener
|
Opens a built-in sample document with custom configuration.
packageContext | the context |
---|---|
config | the ViewerConfig
|
Opens a built-in sample document with default configuration.
packageContext | the context |
---|
Opens a file from Uri with empty password and default configuration.
packageContext | the context |
---|---|
fileUri | the file Uri |
Opens a file from Uri with empty password and custom configuration.
packageContext | the context |
---|---|
fileUri | the file Uri |
config | the configuration |
Opens a file from resource id with empty password and default configuration.
packageContext | the context |
---|---|
resId | the resource id |
Opens a file from Uri with password and custom configuration.
packageContext | the context |
---|---|
fileUri | the file Uri |
password | the password |
config | the configuration |
Opens a file from resource id with password and custom configuration.
packageContext | the context |
---|---|
resId | the resource id |
password | the password |
config | the configuration |
Opens a file from resource id with password and default configuration.
packageContext | the context |
---|---|
resId | the resource id |
password | the password |
Opens a file from resource id with empty password and custom configuration.
packageContext | the context |
---|---|
resId | the resource id |
config | the configuration |
Opens a file from Uri with password and default configuration.
packageContext | the context |
---|---|
fileUri | the file Uri |
password | the password |