Android tutorials

In the android tutorial section, step by step you will learn android programming, how to develop android mobile phone and tablet applications starting from Environment setup, application components, activity lifecycle, service lifecycle, application architecture, publishing application, debugging applications, handling events, layouts, menus, user interface controls, styles and themes, handling rotation, fonts management, send email, data storage, managing media, send sms, phone calls etc.

Some of our tutorial topics are listed below:

Android studio setup - Android developement environment setup

Explained how to check system requirement for android, how to download and setup jdk class path, how to setup android studio

See more...

Android studio project structure

Android studio project structure tutorials. Understand Application module, Library module and learn how and when to use it. Know about Manifests, java and res folder and subfolder and know for which purpose a particular folder is used for

See more...

Android fundamental

Explained Android fundamentals, how Android system implements security sandbox for apps, and how one app can share its data and files with any other apps

See more...

Android application components

Android application components tutorial. Explained what are the core application components in android and how android application components get activated

See more...

Android layout - Layout type and common xml attributes

Android layout tutrial. Explained Android layout, type of layout and their general characteristics, frequently used common xml attributes and their descriptions.

See more...

Android LinearLayout

Android LinearLayout tutorial. Explained how linear layout align its children, what are the common xml attributes of LinearLayout like android:orientation, android:layout_weight, android:weightSum etc. Demonstated a login screen using Android LineraLayout

See more...

Android RelativeLayout

Android RelativeLayout tutorial.Explained how relative layout align its children, what are the xml attributes of android RelativeLayout like layout_alignParentTop, layout_toRightOf etc. Demonstrated android RelativeLayout with a Login Screen sample

See more...

Android TableLayout

Android TableLayout tutorial. Explained how android TableLayout aligned its children, what is TableRow, what are the common xml attributes, how we can colspan and/or rowspan in android table layout. Demonstrated table layout with a Login Screen sample

See more...

Android GridLayout

Android GridLayout tutorial. Explained how android gridLayout align its children, how we can use html table like rowspan and colspan in grid layout, how to place a view in desired column, what are the common xml attributes of android GridLayout

See more...

Android FrameLayout

Android FrameLayout tutorial. Explained how android frame Layout align its children, when we should use frame layout, what are the common xml attributes of frame layout. Demonstrated frame layout with a sample

See more...

Difference between margin and padding -Apna tutorials

Android margin and padding tutorial. Learn about android margin and android padding, know the basic difference between margin and padding in android with an example

See more...

How to get device information in android

Explained how to get device information like BOARD, BRAND, DEVICE, DISPLAY, FINGERPRINT, HARDWARE, MANUFACTURER, MODEL, SERIAL, VERSION.SDK_INT, Device ID, IMEI, mobile number in android

See more...

Android permissions

Explained android permissions. Normal and Dangerous permissions in android, learn how to request application permissions in android on different os version.

See more...

Round shape - How to make layout and ui control in round shape

Round shape tutorial. Explained how we can add round corner border to a layout or/and android ui controls like button. Demonstrated round corner border in layout and button with an example

See more...

Android button style

Explained how to use Android Selector to style a view like button, EditText etc. and how to change style of a view on it's different state like focus, click etc.

See more...

Android options menu

Android options menu tutorial. Explained how to define a menu in xml, how to create menu programatically, how to handle click event of a menu item, how to change options menu at runtime, what are the xml attributes of menu. Demonstrated android options menu with a sample

See more...

Android context menu - Contextual action mode

Explained what is floating context menu, what is contextual action mode, how to start contextual action mode, how to register a view for floating context menu, how to handle event when a menu item get selected. Demonstrated floating context menu and Contextual action mode on a ListView

See more...

Android popup menu - Customization and usage

Android popup menu tutorial. Explained what is popup menu, how to create a popup menu, how to to handle click event of a popup menu item, how to display icons in popup menu using reflection apis. Demonstrated android popup menu on a ListView with a sample.

See more...

Android popup menu - How to use Android popup menu as Android options menu

Demonstrated how we can use an Android popup menu as Android options menu. As we know, android options menu doesn't allow us to dispaly icons with text, so sometime it become important to use android popup menu as Android options menu with icons and text.

See more...

Android date picker

Explained how we use datePicker to select a date, how we can launch datepicker for an specified date and how to format date in desired format

See more...

Android time picker

Explained how we can use timePicker to select a time, how we can launch timepicker dialog for an specified time and how to format time in desired format

See more...

Android progress bar using progressDialog and progressBar widget

Complete reference of android progress bar. Here you will learn using ProgressDialog and ProgressBar widget. Learn when to use Indeterminate progress bar and when to use Determinate progress bar

See more...

Android Alert, Confirm and Prompt dialog tutorial with example

Android dialog tutorial. Here, we learn using Alert, Confirm and prompt dialog with example

See more...

Custom dialog tutorial with example

Android custom dialog tutorial. Here, we'll learn using custom layout as dialog and event handling on custom dialog

See more...

Android WebView - Android application development for web developers

Android WebView tutorial. Explained how web developers can use Android WebView to develop an android application using their web skill with an examples. A WebView based application can also use native functionality like gps, camera, sqlite etc. same way as android native apps do

See more...

AsyncTask

AsyncTask tutorial with example. In this tutorial we will learn best practices of AsyncTask, when and how we should use it, common mistakes that beginners do while using AsyncTask

See more...

Using custom font in android

Explained how we can use a custom font in our android application

See more...

Android TextView

Android TextView tutorial. Explained how we can autolink a url, how to display image within a textview, how to style section of text, how to add html formatting, how to add clickable span etc. with an example

See more...

Android text decoration

Explained how we can use android text decoration atttributes like typeface, font family, text style, text size, Text Color, Text Shadow etc. to decorate text in views like Button, TextView, EditText, RadioButton, CheckBox etc.

See more...

How to underline text in android

Explained how we can add some html styles like bold, italic, underline in our view

See more...

Android EditText

Android EditText tutorial. Explained how to add text change listener, how to handle editor action listener, how to change bottomline color, how to display hint, how to specify keyboard for EditText, how to display image in edittext etc. with an example

See more...

TextInputLayout - Android floating label

Explained how to add support library to use TextInputLayout & TextInputEditText, how to enable password visibility toggle, how to show error message, how to use character counter, how to customize look and feel, how to change password toggle icon with an example

See more...

Android AutoCompleteTextView

Android AutoCompleteTextView tutorial. Explained how to show suggestion list once user start typing in AutoCompleteTextView, how to customize suggestion list, what are common xml attributes of AutoCompleteTextView. Demonstrated AutoCompleteTextView with an example

See more...

Android MultiAutoCompleteTextView

Android MultiAutoCompleteTextView tutorial with example. Explained how to use MultiAutoCompleteTextView, how to show list of suggestion once user start typing, how to customize suggestion list, xml attributes of MultiAutoCompleteTextView and their description

See more...

AutoCompleteTextView - Customization with Image & Text

AutoCompleteTextView tutorial. Explained how to customize android AutoCompleteTextView with Image & text using custom ArrayAdapter, how to implement custom filter logic in ArrayAdapter. Demonsrated AutoCompleteTextView with a sample

See more...

Android Spinner - customization with Image & Text

Android Spinner tutorial. Explained how to customize Android spinner with image & text using a custom ArrayAdapter. How to handle OnItemSelected event of spinner

See more...

Android ListView - Customization with Image And Text

Android ListView tutorial with example. Explained how to customize android ListView with Image and Text using a custom ArrayAdapter, how to handle click event of a list item.

See more...

Android ListView - how to make Android ListView searchable

Explained how to customize a ListView with Image & text, how to implement custom filter logic in ArrayAdapter to make a listView searchable. Demonstrated searchable listview with a sample

See more...

Android ExpandableListView - Customization & usage of ExpadableListView with example

ExpandableListView tutorial. Explained how to customize group row, how to customize child row, how to handle click event of group & child List item. Demonstrated custom ExpandableListView with an example

See more...

Android button - Customization & Usage

Android button tutorial. Explained how to add custom style to an android button, how to add background for different state of a button and demonstrated 4 different ways to handle click event of a Android button

See more...

How to change api level in android studio

Explained what are minSdkVersion, targetSdkVersion and maxSdkVersion and how to change api level in Android Studio

See more...

External jar as dependency in Android Studio

Android Studio add as library tutorial. Explained how we can add an external jar as library in our android studio project

See more...

Android ImageButton - Customization & Usage

Android ImageButton tutorial. Explained how to add custom style to an android ImageButton, how to add image source for different state of a ImageButton and demonstrated 4 different ways to handle click event of a Android Imagebutton

See more...

Android RadioButton - Customization & Usage

Android RadioButton tutorial. Explained RadioButton usage, customization of RadioButton using button selector and color selector, checking and unchecking a RadioButton, handling click event of RadioButton etc.

See more...

Android CheckBox - Customization & Usage

Explained CheckBox usage, customization of CheckBox using button selector and color selector, checking and unchecking a CheckBox, handling click event of CheckBox, Getting all checked values from a group of check box etc.

See more...

Android ImageView - Usage & ScaleType

Android ImageView tutorial. Explained how to load image in an imageView from drawable, mipmap, gallery and url. How to scale an image using ScaleType attribute of ImageView, How to rotate image using matrix, how to display animation in ImageView

See more...

Android Sqlite - insert, update, delete, query, cursor adapter, custom listview

Android Sqlite tutorial. How to insert, update, delete and query records in sqlite. How to use cursor adapter to populate a custom listView. How to use ContentValues, How to use SQLiteOpenHelper class with an example

See more...

Share & Like

Tutorial topics

About ApnaTutorials.com

ApnaTutorials.com is for Java, J2ee, Html5 and android developers. All tutorials are well explained and are easy to understand. We have tested every tutorials on our developement environment before posting it in public domain.