Category: Android

  • Android Intent Tutorial

    Android Intent is the message that is passed between components such as activities, content providers, broadcast receivers, services etc.It is generally used with startActivity() method to invoke activity, broadcast receivers etc.The dictionary meaning of intent is intention or purpose. So, it can be described as the intention to do action.The LabeledIntent is the subclass of […]

    Posted in: Android

  • Android ProgressBar

    We can display the android progressbar dialog box to display the status of work being done e.g. downloading file, analyzing status of work etc.In this example, we are displaying the progress dialog for dummy file download operation.Here we are using android.app.ProgressDialog class to show the progress bar. Android ProgressDialog is the subclass of AlertDialog class.The […]

    Posted in: Android

  • Android Analog clock and Digital clock

    Android Analog clock and Digital clock, The android.widget.AnalogClock and android.widget.DigitalClock classes provides the functionality to display analog and digital clocks. Android analog and digital clocks are used to show time in android application. Android AnalogClock is the subclass of View class. Android DigitalClock is the subclass of TextView class. Since Android API level 17, it […]

    Posted in: Android

  • Android TimePicker

    Android TimePicker is a part of the android picker widget that is used to select date. It allows you to select time by hour and minute. You cannot select time by seconds. Android provides this functionality through TimePicker class. The android.widget.TimePicker is the subclass of FrameLayout class. To use TimePicker class, First You have to define the TimePicker […]

    Posted in: Android

  • Android DatePicker

    Android DatePicker is a widget to select date. It allows you to select date by day, month and year. Like DatePicker, android also provides TimePicker to select time. The android.widget.DatePicker is the subclass of FrameLayout class. DatePicker object is also passed into this function. You can use the following methods of the DatePicker to perform […]

    Posted in: Android

  • Android SeekBar

    Android SeekBar is a kind of ProgressBar with draggable thumb. The end user can drag the thum left and right to move the progress of song, file download etc. The SeekBar.OnSeekBarChangeListener interface provides methods to perform even handling for seek bar. Android SeekBar and RatingBar classes are the sub classes of AbsSeekBar. http://i1172.photobucket.com/albums/r575/gabwerkz/20120205122451.png Android SeekBar […]

    Posted in: Android

  • Android RatingBar

    Android RatingBar can be used to get the rating from the user. The Rating returns a floating-point number. It may be 2.0, 3.5, 4.0 etc. Android RatingBar displays the rating in stars. Android RatingBar is the subclass of AbsSeekBar class. The getRating() method of android RatingBar class returns the rating number. Android RatingBar Example The […]

    Posted in: Android

  • Android AutoCompleteTextView

    Android AutoCompleteTextView completes the word based on the reserved words, so no need to write all the characters of the word. Android AutoCompleteTextView is a editable text field, it displays a list of suggestions in a drop down menu from which user can select only one suggestion or value. Android AutoCompleteTextView is the subclass of […]

    Posted in: Android

  • Android Spinner

    Android Spinner is like the combox box of AWT or Swing. It can be used to display the multiple options to the user in which only one item can be selected by the user. Android spinner is like the drop down menu with multiple values from which the end user can select only one value. […]

    Posted in: Android

  • Android AlertDialog

    Android AlertDialog can be used to display the dialog message with OK and Cancel buttons. It can be used to interrupt and ask the user about his/her choice to continue or discontinue. Android AlertDialog is composed of three regions: title, content area and action buttons. Android AlertDialog is the subclass of Dialog class. Android AlertDialog […]

    Posted in: Android