Android WebView – Reading Asset Files

This is a follow-up to the previous tutorial How to load HTML & CSS string in a WebView. In this, we are going to learn how to read text files from assets folder. 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 […]

person access_time March 22, 2015launch Read More

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 […]

person access_time March 21, 2015launch Read More

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, […]

person access_time March 19, 2015launch Read More

Android ShareActionProvider Tutorial

In this tutorial we are going show how to use ShareActionProvider. Android Developer website gives the following definition: This is a provider for a share action. It is responsible for creating views that enable data sharing and also to show a sub menu with sharing activities if the hosting item is placed on the overflow menu. […]

person access_time March 16, 2015launch Read More 1

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 […]

person access_time March 15, 2015launch Read More