AI2 Component  (Version nb184) Class Reference
Inheritance diagram for

Public Member Functions

void onCreate (Bundle savedInstanceState)
- Public Member Functions inherited from
final boolean isAppCompatMode ()
void onConfigurationChanged (Configuration newConfig)
void onSupportActionModeStarted (ActionMode actionMode)
void onSupportActionModeFinished (ActionMode actionMode)
ActionMode onWindowStartingSupportActionMode (Callback callback)
void setContentView (View view)
ActionBar getSupportActionBar ()

Additional Inherited Members

- Static Public Member Functions inherited from
static boolean isEmulator ()
static boolean isClassicMode ()
static void setClassicModeFromYail (boolean newClassicMode)
- Protected Member Functions inherited from
void onPostCreate (Bundle savedInstanceState)
void onPostResume ()
void onStop ()
void onDestroy ()
void onTitleChanged (CharSequence title, int color)
void setActionBarEnabled (boolean enabled)
void setClassicMode (boolean classic)
void setPrimaryColor (int color)
boolean isRepl ()
void hideTitleBar ()
void maybeShowTitleBar ()
void styleTitleBar ()
void setAppInventorTheme (Theme theme)
- Static Protected Member Functions inherited from
static boolean isActionBarEnabled ()
static int getPrimaryColor ()
- Protected Attributes inherited from
ThemeHelper themeHelper

Detailed Description

Creates a WebView to display the web page identified by the URL passed in the Intent used to start this activity. Javascript is enabled in the WebView and the WebView is set up to handle all subsequent URLs. If it ever gets directed to a URL with scheme equal to Form#APPINVENTOR_URL_SCHEME, returns that URL to the invoking activity via a result intent.

This is intended for dealing with the web-based part of the OAuth protocol. Start up this activity with an OAuth authorize URL and set up a redirect URL for the authorization to have scheme Form#APPINVENTOR_URL_SCHEME. See the Twitter component for an example.

Author (Sharon Perl)

Definition at line 31 of file

Member Function Documentation

◆ onCreate()

void ( Bundle  savedInstanceState)

The documentation for this class was generated from the following file: