Android Notification Manager Example

In this tutorial we are going to learn how to use NotificationManager to display status bar notifications. Notifications are typically to used by the application to notify the user about incoming messages, application updates, ongoing background tasks etc.,. See flowing Steps : Create MainActivity.class and NotificationActivity.class. Use  NotificationCompat.Builder object to create the user interface for the notification. Create a PendingIntent to […]

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

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