Android WebView Example
Android WebView is used to display web page in android. The web page can be loaded from same application or URL. It is used to display online content in android activity. Get paid to share your links! Android WebView uses webkit engine to display web page. The android.webkit.WebView is the subclass of AbsoluteLayout class. The loadUrl() and loadData() methods of Android WebView class are used to load and display web page. Let's see the simple code to display younfilmmakerz .com web page using web view. WebView mywebview = (WebView) findViewById(R.id.webView1); mywebview.loadUrl( "http://www.younfilmmakerz.com/" ); Let's see the simple code to display HTML web page using web view. In this case, html file must be located inside the asset directory. WebView mywebview = (WebView) findViewById(R.id.webView1); mywebview....
Comments
Post a Comment