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 […]
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 […]
LinearLayout is one of the basic layouts in Android. We are going to learn how to use various orientations of LinearLayout. See flowing Steps : Create layout files to demonstrate different orientations of linear layout.
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 […]
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 […]