Android Button Selector Color Example
This page will provide Android button Selector color example. Here we will change button text color for different states. In our selector we are providing a default color.
Android Ship SQLite Database with APK | Copy SQLite Database from assets folder to data Example
This page will provide how to ship SQLite database file with APK. We will show the demo to copy database file from assets folder to data directory of android OS.
Integrate AdMob in Android Application with Smart Banner using Eclipse Example
On this page we will provide a complete description to integrate AdMob in Android application with smart banner using Eclipse. In our example, we will use one smart banner on footer.
Android ScrollView with fixed Header and Footer Layout Example
This page will provide Android ScrollView with fixed header and footer layout example. When the number of lines of body content will be more, there will be scroll line.
Integrate Google Analytics with Android App Example
This page will show you how to integrate Google Analytics with Android App with Example. We will describe it step by step and with complete example.
Android AssetManager Example to Load Image from assets Folder
This page will cover Android AssetManager example to load image from assets folder. We keep text, images, videos, pdf etc in assets directory.
Android Load Image from URL with Internet using BitmapFactory and ImageView.setImageBitmap() Example
This page covers Android load image from URL with Internet using BitmapFactory and ImageView.setImageBitmap() example. To work with internet we need a separate thread.
Android ImageView Example by XML and Programmatically
On this page we will provide Android ImageView example by XML and programmatically. To show image by XML, we need to add ImageView tag in our layout in XML.
Android Styles and Themes Tutorial with Multiple Style Inheritance Examples
This page will walk through the Android Styles and Themes tutorial with multiple style inheritance examples. Here we will cover how to define a style and then how to use it with UI component.
Android SQLite Database Tutorial with onCreate(), onUpgrade(), getWritableDatabase() of SQLiteOpenHelper and execSQL(), compileStatement(), rawQuery() of SQLiteDatabase Example
Here we will walk through Android SQLite Database tutorial with onCreate(), onUpgrade(), getWritableDatabase() of SQLiteOpenHelper and execSQL() , compileStatement(), rawQuery() of SQLiteDatabase Example.
Android Options Menu Example using getMenuInflater().inflate, onCreateOptionsMenu and onOptionsItemSelected
This page will walk through Android options menu example using getMenuInflater().inflate, onCreateOptionsMenu and onOptionsItemSelected. Options menu is the primary collection of menu items.
Android AlertDialog Example with Theme, Icon and DialogInterface.OnClickListener
On this page we will provide Android AlertDialog example with theme, icon and DialogInterface.OnClickListener. Instantiate AlertDialog.Builder to set title, icon button etc.
Android UserDictionary Content Provider Insert/Update/Delete/Fetch Example using ContentValues, ContentResolver and Uri
On this page we will provide Android UserDictionary Content Provider with insert, update, delete and fetch operation example using ContentValues, ContentResolver and Uri.
Android Interface Definition Language (AIDL) Example
This page will provide Android Interface Definition Language (AIDL) example. AIDL facilitates to communicate between server and client. In android we cannot access memory from one process to another process.
Android Local Bound Service Example with Binder and ServiceConnection
On this page we will provide android local bound service example with Binder and ServiceConnection. Bound service is bound with other application and responds to the clients.
Android Start/Stop Service from Activity Example using HandlerThread
On this page, we will walk through Android start and stop Service from Activity using HandlerThread. Service runs in background and does not interact with user interface.
Android AsyncTaskLoader Example with ListView and BaseAdapter
This page will walk through the Android AsyncTaskLoader example with ListView and BaseAdapter. AsyncTaskLoader uses AsyncTask to perform work.
Android AsyncTask Example with Progress Bar
This page will walk through Android AsyncTask example with progress bar. This is asynchronous task which runs using background thread and updates UI thread.
Android Write Contacts example with ContentProviderOperation
This page will walk through the android write contacts example with ContentProviderOperation. In our example we will write contacts with display name and mobile number.
Android Read Contact Name and Phone Number using CursorLoader Example
In this page we will learn how to read contact name and phone number using CursorLoader in android with example. CursorLoader extends AsyncTaskLoader and works as background thread which does not block UI.
Android WebView with Indeterminate, Determinate Horizontal Progress Bar Example with WebViewClient, WebChromeClient and Back Button
In this page we will walk through the android WebView with indeterminate, determinate horizontal progress bar example with WebViewClient, WebChromeClient and back button.
Android Toast Example with Custom View
Android Toast is a way to display message for any operation. Message appears as popup for a short time and control still remains with parent layout. The popup layout takes the size required only for message.
Android Notification Example with Vibration, Sound, Action and Big View Styles
In this page we will walk through android notification example with vibration, sound, action and big view styles. Android provides NotificationManager which provides notify method to display notification.
Android Alarm Clock Tutorial to Schedule and Cancel | AlarmManager, PendingIntent and WakefulBroadcastReceiver Example
In this page we will provide android alarm clock tutorial to schedule and cancel. To do this android provides the API that are AlarmManager, PendingIntent and WakefulBroadcastReceiver.
Android Handler, DialogFragment and Time Picker Example with Message and Bundle
This page will walk through Android Handler, DialogFragment and Time Picker Example with Message and Bundle. Handler is used to send and receive Message. DialogFragment creates fragment controlled by API.
Android FragmentManager and FragmentTransaction Example | Replace Fragment with another Fragment using Button OnClickListener
This page will walk through the android FragmentManager and FragmentTransaction example in which we will replace Fragment with another Fragment using Button OnClickListener.
Android Ringtone and RingtoneManager Example | Get Default and Current Ringtone
This page will walk through the android Ringtone and RingtoneManager Example and provide the demo to get default and current ringtone. Ringtone and RingtoneManager classes are used for all types.
Android + Spring + RestTemplate + XML Integration Example
This page will provide the example to integrate android and spring to use REST API with RestTemplate that will consume XML data. We are using maven build for spring dependency.
Build Android Project with Maven
This page will explain how to build android project using maven. We will provide a demo step by step and create apk file by running the pom.xml.
Android 5 Lollipop new API and Feature
In this page, we will get the overview of android 5 Lollipop also known as Android L. This release has lots of new API and feature that makes android 5 more secure, more flexible for app, multitasking.
Android FragmentActivity with ListFragment and Fragment Example
In this page we will create FragmentActivity with ListFragment and Fragment in android. Fragment is reusable in android layout. More than one fragment can be combined.
Android Activity Life Cycle Example
In this page we will understand the life cycle of Android Activity. Activity is a component that plays the role to show the UI with which user interacts.
Android Implicit Intent Example | Open URL in Browser | Make Phone Call
Implicit Intent in Android can invoke other application in the device. We can open a URL in a browser or can make a call. Many other tasks can be performed.
Android Explicit Intent Example
Intent in Android supports communication between app component. An Intent can start an activity, service and can deliver a broadcast. There are two types of Intent: Explicit and Implicit.
Android Project Structure in Eclipse and JAR Dependency
To start with android development, it is required to understand the project structure and jar dependency so that there is not compile time error.
Android + Eclipse Simple Example Step by Step
In this page we will quick start an android application using eclipse. To run the application, eclipse can be integrated with Android Virtual Device that will behave as Android Emulator.