How to load HTML & CSS string in a WebView

In the previous tutorial Android WebView Tutorial, we learned about using WebView. Now let’s learn how to load static HTML string content in WebView. See flowing Steps : Create a layout file res/layout/activity_main.xml with one WebView in it. Create a data helper class to generate HTML content with CSS style scripts embedded. INTERNET permission is not necessary in this […]

Android WebView Tutorial

In this tutorial we are going to show how to load web pages inside android application. It is possible to load web sites in our android application using WebView. See flowing Steps : Create a layout file res/layout/activity_main.xml with one WebView in it. In MainActivity.java create a new custom WebViewClient and attach it to the webview widget. In Manifest file, […]

Tabs using ViewPager – Android Tutorial

Hope you already mastered using ActionBar with the help of our previous tutorials. Please refer to the tutorials Android ActionBar Tutorial and Android ActionBar using Appcompat_V7 library for better understanding (if you still have any doubts). See flowing Steps : Create main layout file res/layout/activity_main.xml with ViewPager widget. The ViewPager is a layout widget in which each child view is a separate […]