public class

VDARWebView

extends WebView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.AbsoluteLayout
         ↳ android.webkit.WebView
           ↳ com.vidinoti.android.vdarsdk.VDARWebView

Class Overview

Web view which should be used to create custom modal web view.

Summary

[Expand]
Inherited Constants
From class android.webkit.WebView
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
VDARWebView(Context context, AttributeSet sets)
VDARWebView(Context context)
VDARWebView(Intent internalBrowserIntent, Context context)
Public Methods
String checkUpdateURLAndLayout(String url, Boolean loadPage)
When a web page has to be loaded, this method check if this is a special URL and launch commands accordingly.
void closeBrowser()
void destroy()
void executeJS(String js)
void playMovie(String url)
void setWebViewClient(WebViewClient client)
[Expand]
Inherited Methods
From class android.webkit.WebView
From class android.widget.AbsoluteLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewGroup.OnHierarchyChangeListener
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.ViewTreeObserver.OnGlobalFocusChangeListener
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public VDARWebView (Context context, AttributeSet sets)

public VDARWebView (Context context)

public VDARWebView (Intent internalBrowserIntent, Context context)

Public Methods

public String checkUpdateURLAndLayout (String url, Boolean loadPage)

When a web page has to be loaded, this method check if this is a special URL and launch commands accordingly. This has to be called for every page load.

Parameters
url The new URL to load
loadPage Is a boolean value equal to true if the web view has to load the current url, and false if not. Typcially, when the back button is pressed, you should pass false.
Returns
  • The new URL that will be loaded, if modified

public void closeBrowser ()

public void destroy ()

public void executeJS (String js)

public void playMovie (String url)

public void setWebViewClient (WebViewClient client)

Since: API Level