Archives for May 2014

Android Intent Result Example

  Intents are mainly used for communication between 2-activities or to pass data between them. Whenever we start a new Activity using Intent, that Intent can also return some result to our older Activity from newly created Activity. This process is called receiving intent result.   Many a times we might have various operations to be […]

Android Explicit Intent

  Android Explicit Intent is used to invoke components such as Activity / Service / Broadcast Receiver of our own application, e.g. Launching Dashboard Activity with Explicit Intent, when user clicks on submit button from Login Activity.  Android Explicit Intent designates target component by it’s name (i.e. specifying Activity Class name as 2nd parameter while declaring intent). Android Explicit Intent […]

Android Implicit Intent

  Android Implicit Intent is used to invoke inbuilt system components or invoke components from another applications. Android Implicit Intent don’t directly specify android component which is to be called. Instead Implicit Intent just specify the action to be performed & what matter is to be passed to that component like URL, Map Lat-Long., Ph No., etc. Example of […]

Android Intent

  Android Intent is an asynchronous messaging element which can send data & action to various Activities / Background-Services / Broadcast Receivers. While you are working on one activity, you can easily switch-over to another using Android Intent. In fact one of the most widely use of Android Intent is starting new Activities. Intent also acts as a carrier […]

Android DatePicker

  In order to provide user with date selection, we need to use – Android DatePicker. This tutorial will cover on how to get current-date, how to invoke Date-Picker Dialog-box and how to set the selected date to EditText.   Source Code :   Now Let us work on Project : (Refer – Configuring Existing AndroidStudioProject) […]

Android AlertDialog

  In order to prompt any alert message to user, we need to use widget – Android AlertDialog. This tutorial will cover adding title, message description, icon, buttons to Android AlertDialog inside file.   Source Code :   Now Let us work on Project : (Refer – Configuring Existing AndroidStudioProject) AlertDialog which you might have downloaded from above or you can […]

Android Ratingbar

  For feedback & quality purpose from users, we generally use Android RatingBar in our Apps. For using Android RatingBar, we need to add it inside our XML Layout file and from file we can obtain its value when user submits feedback, this will be explained in this tutorial.   Source Code :   Now Let us […]

Android Spinner (Drop Down)

  In general Android Spinner are famous by the name Drop-down. Android Spinner provides a way to enlist multiple items and allow user to select one item out of them. Apart from normal UI Android Spinners can be customised in several ways which will also be covered in this tutorial.     Source Code :   […]

Android Radio Button

  In this tutorial you will learn about android radio button & android radio group. Android Radio Button widget provides interface to select item of your choice. You might be familiar with this, if you have worked on any of the scripting language. Android Radio Group are used to Nest Android Radio Buttons together, means radio group controls selection […]

Android CheckBox

  Android CheckBox widget provides interface to select/deselect items. This tutorial will make you familiar with android checkbox, its declaration, clickListener.   Source Code :   Now Let us work on Project : (Refer – Configuring Existing AndroidStudioProject) CheckBox which you might have downloaded from above or you can follow the scripts below by copying it to […]