public class WebViewer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
WebViewer() |
Modifier and Type | Method and Description |
---|---|
static void |
show(java.io.File file,
android.content.Context context,
int scale)
Given a file and a context, render the file in an about dialog.
|
static void |
show(java.io.File file,
android.content.Context context,
int scale,
java.lang.Runnable action)
Given a file and a context, render the uri in an about dialog.
|
static void |
show(java.lang.String uri,
android.content.Context context)
Given a uri and a context, render the uri in an about dialog.
|
static void |
show(java.lang.String uri,
android.content.Context context,
int scale) |
static void |
show(java.lang.String uri,
android.content.Context context,
int scale,
java.lang.Runnable action)
Given a uri and a context, render the uri in an about dialog.
|
public static void show(java.lang.String uri, android.content.Context context)
uri
- the string uri for the content.context
- the context to be used to construct the components.public static void show(java.lang.String uri, android.content.Context context, int scale)
public static void show(java.lang.String uri, android.content.Context context, int scale, java.lang.Runnable action)
uri
- the string uri for the content.context
- the context to be used to construct the components.scale
- the initial scale of the pageaction
- the action to take when the dialog is dismissed.public static void show(java.io.File file, android.content.Context context, int scale)
file
- the file for the content.context
- the context to be used to construct the components.scale
- the initial scale of the pagepublic static void show(java.io.File file, android.content.Context context, int scale, java.lang.Runnable action)
file
- the file for the content.context
- the context to be used to construct the components.scale
- the initial scale of the pageaction
- the action to take when the dialog is dismissed.