Fragments

Android Fragments

What are fragments? A fragment is an independent Android component which can be used by an activity. A fragment encapsulates functionality so that it is easier to reuse within activities and layouts. A fragment runs in the context of an activity, but has its own life cycle and typically its own user interface. It is

Read More
Actionbar and Option Menus

Android ActionBar and Option Menus

What is the action bar? The action bar (ActionBar) is located at the top of the activity. It can display the activity title, icon, actions which can be triggered, additional views and other interactive items. It can also be used for navigation in your application. The action bar is enabled for devices which specify a

Read More
CheckBox

Android CheckBox

A CheckBox is an on/off switch that can be toggled by the user. You should use check-boxes when presenting users with a group of selectable options that are not mutually exclusive. CheckBox Attributes Following are the important attributes related to CheckBox control. You can check Android official documentation for complete list of attributes and related

Read More
Radio Button

Android RadioButton

A RadioGroup class is used for set of radio buttons. If we check one radio button that belongs to a radio group, it automatically unchecks any previously checked radio button within the same group. RadioGroup Attributes Following are the important attributes related to RadioGroup control. You can check Android official documentation for complete list of

Read More
AlertDialog

Android Alert Dialog

Some times in your application , if you wanted to ask the user about taking a decision between yes or no in response of any particular action taken by the user, by remaining in the same activity and without changing the screen, you can use Alert Dialog. In order to make an alert dialog ,

Read More
SQLite Database

Android SQLite Database

1. What is SQLite? SQLite is an Open Source database. SQLite supports standard relational database features like SQL syntax, transactions and prepared statements. The database requires limited memory at runtime (approx. 250 KByte) which makes it a good candidate from being embedded into other runtimes. SQLite supports the data types TEXT (similar to String in

Read More