This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
LoadResource(Url As String) OverrideUrl(Url As String) As Boolean PageFinished(Url As String) PageStarted(Url As String, FavIcon As Bitmap) ReceivedError(ErrorCode As int, Description As String, FailingUrl As String) ReceivedLoginRequest((Realm As String, Account As String, Args As String) ReceivedSslError(SslErrorHandler1 As SslErrorHandler, SslError1 As SslError) ScaleChanged(OldScale As Float, NewScale As Float) ShouldInterceptRequest(Url As String) As WebResourceResponse UpdateVisitedHistory(Url As String, IsReload As Boolean) UserAndPasswordRequired(Host As String, Realm As String) As String()
This method was deprecated in API level 17. This method is now obsolete, and will become a no-op in future.
GetAllowContentAccessAsBoolean
Gets whether this WebView supports content URL access.
GetAllowFileAccessAsBoolean
Gets whether this WebView supports file access.
GetBlockNetworkImageAsBoolean
Gets whether the WebView does not load image resources from the network.
GetBlockNetworkLoadsAsBoolean
Gets whether the WebView does not load any resources from the network.
GetCacheModeAsInt
Gets the current setting for overriding the cache mode.
GetCursiveFontFamilyAsString
Get the cursive font family name. The default is "cursive". Returns the cursive font family name as a string.
GetDatabaseEnabledAsBoolean
Gets whether the database storage API is enabled.
GetDatabasePathAsString
Returns the location where the database storage API databases are saved.
GetDefaultFixedFontSizeAsInt
Get the default fixed font size. The default is 16. Returns a non-negative integer between 1 and 72.
GetDefaultFontSizeAsInt
Get the default font size. The default is 16. Returns a non-negative integer between 1 and 72.
GetDefaultTextEncodingNameAsString
Get the default text encoding name. The default is "Latin-1". Returns the default text encoding name as a string.
GetDefaultUserAgentAsString
Returns the default User-Agent used by a WebView.
GetDefaultZoomAsString
Get the default zoom density of the page. Possible return values are: "CLOSE", "FAR" and "MEDIUM"
GetDisplayZoomControlsAsBoolean
Returns true if the on screen zoom buttons are displayed. Only supported on Android API level 11 and later.
GetDOMStorageEnabledAsBoolean
Returns whether the DOM storage APIs are enabled.
GetFantasyFontFamilyAsString
Gets the fantasy font family name.
GetFixedFontFamilyAsString
Gets the fixed font family name.
GetJavaScriptCanOpenWindowsAutomaticallyAsBoolean
Get if javascript can open windows automatically. The default is false. Returns true if javascript can open windows automatically during window.open().
GetLightTouchEnabledAsBoolean
Gets whether light touches are enabled.
GetLoadsImagesAutomaticallyAsBoolean
Gets whether the WebView loads image resources. This includes images embedded using the data URI scheme.
GetLoadWithOverviewModeAsBoolean
Gets whether this WebView loads pages in overview mode.
GetMediaPlaybackRequiresUserGestureAsBoolean
Gets whether the WebView requires a user gesture to play media.
GetMinimumFontSizeAsInt
Gets the minimum font size.
GetMinimumLogicalFontSizeAsInt
Gets the minimum logical font size.
GetPluginStateAsString
Get the current plugin state. Possible return values are: "OFF", "ON" and "ON_DEMAND"
GetSansSerifFontFamilyAsString
Gets the sans-serif font family name.
GetSaveFormDataAsBoolean
Get whether the WebView is saving form data and displaying prior entries/autofill.
GetSavePasswordAsBoolean
Get whether the WebView is saving passwords.
GetSerifFontFamilyAsString
Gets the serif font family name.
GetStandardFontFamilyAsString
Gets the standard font family name.
GetTextSizeAsString
Returns a String SMALLEST, SMALLER, NORMAL, LARGER or LARGEST. SMALLEST is 50% SMALLER is 75% NORMAL is 100% LARGER is 150% LARGEST is 200% This method was deprecated in API level 14. Use GetTextZoom() instead.
GetTextZoomAsInt
Gets the text zoom of the page in percent.
GetUserAgentStringAsString
Get the WebView's user-agent string.
GetUseWideViewPortAsBoolean
Gets whether the WebView is using a wide viewport.
IsInitializedAsBoolean
LOAD_CACHE_ELSE_NETWORKAsInt
Use cached resources when they are available, even if they have expired.
LOAD_CACHE_ONLYAsInt
Don't use the network, load from the cache.
LOAD_DEFAULTAsInt
Default cache usage mode.
LOAD_NO_CACHEAsInt
Don't use the cache, load from the network.
LOAD_NORMALAsInt
This constant was deprecated in API level 17. ** This value is obsolete, as from API level HONEYCOMB and onwards it has the same effect as LOAD_DEFAULT. **
SetAllowContentAccess (AllowAsBoolean)
Enables or disables content URL access within WebView.
SetAllowFileAccess (AllowAsBoolean)
Enables or disables file access within WebView.
SetAppCacheEnabled (FlagAsBoolean)
Sets whether the Application Caches API should be enabled.
SetAppCacheMaxSize (AppCacheMaxSizeAsLong)
Sets the maximum size for the Application Cache content.
SetAppCachePath (AppCachePathAsString)
Set a custom path to the Application Caches files. The client must ensure it exists before this call. appCachePath - String path to the directory containing Application Caches files. The appCache path can be the empty string but should not be null.
SetBlockNetworkImage (FlagAsBoolean)
Sets whether the WebView should not load image resources from the network (resources accessed via http and https URI schemes). Note that this method has no effect unless GetLoadsImagesAutomatically() returns True. Also note that disabling all network loads using SetBlockNetworkLoads(boolean) will also prevent network images from loading, even if this flag is set to False. When the value of this setting is changed from true to false, network images resources referenced by content currently displayed by the WebView are fetched automatically. The default value is False.
SetBlockNetworkLoads (FlagAsBoolean)
Sets whether the WebView should not load resources from the network.
SetCacheMode (CacheModeAsInt)
Override the way the cache is used. The way the cache is used is based on the navigation option. For a normal page load, the cache is checked and content is re-validated as needed. When navigating back, content is not revalidated, instead the content is just pulled from the cache. This function allows the client to override this behavior. cacheMode - Possible values are WebSettings constants: LOAD_CACHE_ELSE_NETWORK, LOAD_CACHE_ONLY, LOAD_DEFAULT, LOAD_NO_CACHE and LOAD_NORMAL.
SetCursiveFontFamily (FontAsString)
Set the cursive font family name. Font - A font family name.
SetDatabaseEnabled (EnabledAsBoolean)
Set whether the database storage API is enabled.
SetDatabasePath (pathAsString)
Sets the location where the database storage API databases are saved. If path is an empty String "" then a default path will be set.
SetDefaultFixedFontSize (SizeAsInt)
Set the default fixed font size. Size - A non-negative integer between 1 and 72.
SetDefaultFontSize (SizeAsInt)
Set the default font size. Size - A non-negative integer between 1 and 72.
SetDefaultTextEncodingName (EncodingAsString)
Set the default text encoding name to use when decoding html pages. The default is "Latin-1".
SetDefaultZoom (DensityAsString)
Set the default zoom density of the page. Density - Possible values are: "CLOSE", "FAR" and "MEDIUM".
SetDisplayZoomControls (EnabledAsBoolean)
Sets whether the on screen zoom buttons are displayed. A combination of built in zoom controls enabled and on screen zoom controls disabled allows for pinch to zoom to work without the on screen controls. Only supported on Android API level 11 and later.
SetDOMStorageEnabled (EnabledAsBoolean)
Set whether the DOM storage API is enabled.
SetEnableSmoothTransition (EnableAsBoolean)
This method was deprecated in API level 17. This method is now obsolete, and will become a no-op in future.
SetFantasyFontFamily (FontAsString)
Sets the fantasy font family name.
SetFixedFontFamily (FontAsString)
Sets the fixed font family name.
SetGeolocationDatabasePath (DatabasePathAsString)
Sets the path where the Geolocation databases should be saved.
Tell javascript to open windows automatically. This applies to the javascript function window.open().
SetLightTouchEnabled (EnabledAsBoolean)
Enables using light touches to make a selection and activate mouseovers.
SetLoadsImagesAutomatically (FlagAsBoolean)
Sets whether the WebView should load image resources. Note that this method controls loading of all images, including those embedded using the data URI scheme. Use SetBlockNetworkImage(boolean) to control loading only of images specified using network URI schemes. Note that if the value of this setting is changed from false to true, all images resources referenced by content currently displayed by the WebView are loaded automatically. The default value is True.
SetLoadWithOverviewMode (OverviewAsBoolean)
Sets whether the WebView loads pages in overview mode.
Sets whether the WebView requires a user gesture to play media.
SetMinimumFontSize (SizeAsInt)
Set the minimum font size. size - A non-negative integer between 1 and 72.
SetMinimumLogicalFontSize (SizeAsInt)
Set the minimum logical font size. size - A non-negative integer between 1 and 72.
SetPluginState (StateAsString)
Tell the WebView to enable, disable, or have plugins load on demand. On demand mode means that if a plugin exists that can handle the embedded content, a placeholder icon will be shown instead of the plugin. When the placeholder is clicked, the plugin will be enabled. Valid values are : "OFF", "ON" and "ON_DEMAND".
SetRenderPriority (PriorityAsString)
Sets the priority of the Render thread.
SetSansSerifFontFamily (FontAsString)
Sets the sans-serif font family name.
SetSaveFormData (SaveAsBoolean)
Store whether the WebView is saving form data.
SetSavePassword (SaveAsBoolean)
Store whether the WebView is saving password.
SetSerifFontFamily (FontAsString)
Sets the serif font family name.
SetStandardFontFamily (FontAsString)
Sets the standard font family name.
SetSupportMultipleWindows (SupportAsBoolean)
Sets whether the WebView whether supports multiple windows.
SetSupportZoom (SupportAsBoolean)
Sets whether the WebView should support zooming using its on-screen zoom controls and gestures.
SetTextSize (TextSizeAsString)
This method was deprecated in API level 14. Use SetTextZoom(int) instead. TextSize - String value of SMALLEST, SMALLER, NORMAL, LARGER or LARGEST.
SetTextZoom (TextZoomAsInt)
Sets the text zoom of the page in percent.
SetUserAgentString (UserAgentAsString)
Set the WebView's user-agent string. If the string UserAgent is null or empty, it will use the system default user-agent string.
SetUseWideViewPort (UseAsBoolean)
Tell the WebView to use a wide viewport.
SupportMultipleWindowsAsBoolean
Gets whether the WebView supports multiple windows.
Injects the supplied Java object into this WebView. JavascriptInterface - The Java object to inject into this WebView's JavaScript context. Null values are ignored. InterfaceName - The name used to expose the object in JavaScript.
Back
BackgroundAsandroid.graphics.drawable.Drawable
BringToFront
CanGobackAsBoolean
Returns whether the WebView has a back history item.
CanGoBackOrForward (StepsAsInt) AsBoolean
Returns whether the WebView can go back or forward the given number of steps.
CanZoomInAsBoolean
Returns whether the WebView can zoom in. This method was deprecated in API level 17. This method is prone to inaccuracy due to race conditions between the web rendering and UI threads; prefer onScaleChanged(WebView, float, float).
CanZoomOutAsBoolean
Returns whether the WebView can zoom out. This method was deprecated in API level 17. This method is prone to inaccuracy due to race conditions between the web rendering and UI threads; prefer onScaleChanged(WebView, float, float).
CaptureBitmapAsBitmapWrapper
ClearCache (IncludeDiskFilesAsBoolean)
Clear the WebView cache. IncludeDiskFiles - If false, only the RAM cache is cleared. Note that the cache is per-application, so this will clear the cache for all WebViews used in an application.
ClearFormData
Removes the autocomplete popup from the currently focused form field, if present.
ClearHistory
Tells this WebView to clear its internal back/forward list.
ClearSslPreferences
Clears the SSL preferences table stored in response to proceeding with SSL certificate errors.
ColorAsInt [write only]
CopyBackForwardListAsWebBackForwardList
Gets the WebBackForwardList for this WebView.
EnabledAsBoolean
ExecuteJavascript (JavascriptAsString)
Executes a string of javascript statements.
FindAll (FindAsString) AsInt
This method was deprecated in API level 16. findAllAsync(String) is preferred.
FindAllAsynch (FindAsString)
Finds all instances of 'Find' on the page and highlights them, asynchronously.
FindNext (ForwardAsBoolean)
Highlights and scrolls to the next match found by findAllAsync(String), wrapping around page boundaries as necessary.
FlingScroll (VelocityXAsInt, VelocityYAsInt)
Initiates a fling scroll. VelocityX - Velocity of the scroll on the X axis. VelocityY - Velocity of the scroll on the Y axis.
Forward
FreeMemory
Informs the WebView that memory is low so that it can free any available memory.
Retrieves HTTP authentication credentials for the given Host and Realm.
GetOriginalUrlAsString
Gets the original URL for the current page.
GetProgressAsInt
Gets the progress for the current page.
GetScaleAsFloat
Get the WebView scale. This method was deprecated in API level 17. This method is prone to inaccuracy due to race conditions between the web rendering and UI threads; prefer onScaleChanged(WebView, float, float).
GetSettingsAsWebSettings
GetTitleAsString
Gets the title for the current page.
GoBackOrForward (StepsAsInt)
Goes to the history item that is the number of steps away from the current item.
Invokes the graphical zoom picker widget for the WebView.
IsInitializedAsBoolean
IsPrivateBrowsingEnabledAsBoolean
Gets whether private browsing is enabled in the WebView.
JavaScriptEnabledAsBoolean
LeftAsInt
LoadHtml (arg0AsString)
LoadUrl (arg0AsString)
OverlayHorizontalScrollbarAsBoolean
Gets whether horizontal scrollbar has overlay style.
OverlayVerticalScrollbarAsBoolean
Gets whether vertical scrollbar has overlay style.
PageDown (ScrollToBottomAsBoolean) AsBoolean
Scroll the contents of the WebView down by half the page size. ScrollToBottom - If True then the WebView will be scrolled to the bottom of the page. Returns a Boolean value to indicate the success or failure of the scroll.
PageUp (ScrollToTopAsBoolean) AsBoolean
Scroll the contents of the WebView up by half the page size. ScrollToTop - If True then the WebView will be scrolled to the top of the page. Returns a Boolean value to indicate the success or failure of the scroll.
PauseTimers
Pauses all layout, parsing, and JavaScript timers for all WebViews.
PostUrl (UrlAsString, PostData() AsByte)
Loads the URL with postData using "POST" method into this WebView.
Reload
Reloads the current URL.
RemoveJavascriptInterface (InterfaceNameAsString)
Removes a previously injected Java object from this WebView.
RemoveView
RequestFocusAsBoolean
ResumeTimers
Resumes all layout, parsing, and JavaScript timers for all WebViews.