public class WebDialog
extends android.app.Dialog
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
Modifier and Type | Field and Description |
---|---|
protected |
callback |
static int |
DEFAULT_THEME |
Constructor and Description |
---|
WebDialog(android.content.Context context,
java.lang.String url)
Constructor which can be used to display a dialog with an already-constructed URL.
|
WebDialog(android.content.Context context,
java.lang.String url,
|
WebDialog(android.content.Context context,
java.lang.String url,
int theme,
|
Modifier and Type | Method and Description |
---|---|
void |
dismiss() |
void |
onAttachedToWindow() |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onDetachedFromWindow() |
addContentView, cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
public static final int DEFAULT_THEME
protectedcallback
public WebDialog(android.content.Context context, java.lang.String url)
context
- the context to use to display the dialogurl
- the URL of the Web Dialog to display; no validation is done on this URL, but it should
be a valid URL pointing to a Facebook Web Dialogpublic WebDialog(android.content.Context context, java.lang.String url,callback)
public WebDialog(android.content.Context context, java.lang.String url, int theme,callback)
public void dismiss()
dismiss
in interface android.content.DialogInterface
dismiss
in class android.app.Dialog
public void onDetachedFromWindow()
onDetachedFromWindow
in interface android.view.Window.Callback
onDetachedFromWindow
in class android.app.Dialog
public void onAttachedToWindow()
onAttachedToWindow
in interface android.view.Window.Callback
onAttachedToWindow
in class android.app.Dialog
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class android.app.Dialog