How to get all registered email accounts in Android

In this tutorial we are going to show how to get all registered Gmail ids and other email accounts like Skype in Android. All the email ids are provided by the AccountManager class. See flowing Steps : Declare GET_ACCOUNTS permission in Manifest file. Get the email ids using getAccounts or getAccountsByType provided by AccountManager . Note: This will not work […]

person access_time April 24, 2015launch Read More

Android Login Screen Tutorial

In this tutorial we are going to show how to navigate from one activity to second activity. To demonstrate this,  we would like to use a clean user login screen example. See flowing Steps : Create login activity layout which contains EditText widgets so that user can enter input data. Set OnClickListener to the Button Use Intent to pass data to another […]

person access_time March 24, 2015launch Read More

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