Archives for May 2014

Android EditText

  Android EditText widget is better known as TextBox in case of HMTL. It provides interface to collect data in form of text entered by user. By specifying property inputType we can customize android edittext as plain text, password, numeric, phone No., Address field , Date field, etc. based on requirement of data from user.   Source […]

Android ImageView

  Android ImageView widget allows us to add good looking & vivid images in your Application. Android ImageView is enriched with different configuration options to support different size & densities of screens. We simply have to create separate images inside drawable folders supporting various screens & Android System automatically selects the best image from all the available options. […]

Android Toggle Button Example

  Android Toggle Button is an interface which has 2 states i.e. for ON  &  OFF condition of our Button. Android Toggle Button is extensively used to indicate state of functionalities like ON/OFF , enable/disable , active/de-active , etc. Android Toggle Button displays checked/unchecked states as a button with a ‘light‘ indicator.   Similar to Buttons, Toggle Buttons can […]

Android Button

  Android Button is basically an interface by which we can collect user’s click events. We can form android button using Text as well as Images, we will see it soon in this tutorial.   Android Buttons can be implemented to listen user clicks in 2 ways. Creating Button’s onClick-Listener directly from java File ( Creating Button click handler method in java […]

Android TextView – 2 (Adding Properties from Java file)

  You have learned adding properties of TextView in  Android TextView – 1. In this tutorial you will learn to add all these properties from File instead of XML Layout file, to create a rich User Interface on “Run Time”.   Source Code :   Now Let us work on Project : (Refer – […]

Android TextView – 1

  Android TextView is better known as ‘Labels’ in Java. In this tutorial you will learn to use Android TextView widget to create a rich User Interface to display text contents over the screen.   Source Code :   Let’s first understand Syntax for declaring Android TextView. Refer the below fig.     Now […]

Android Toast

  This article will guide you how to show android Toast i.e. a visual prompt message for users which disappears automatically after a pre-defined time.   Source Code :   Now Let us work on Project : (Refer – Configuring Existing AndroidStudioProject) Toast which you might have downloaded from above or you can follow the scripts below […]

Exploring My First Android Application

  By now you have made your first Android App, also you might have understood Android Structure and Working from previous post. Now let us Explore My First Android Application which we had made previously.   1. Starting with our file inside java folder which is called first on launching MyFirstApp. Refer the below […]

Android Open Source Project

  After purchasing Android, Google Inc. started developing it under Android Open Source Project. Where employees at Google worked in making a strong backbone of this OS in terms of User-interface, Connectivity, Security, Hardware support for Accelerometer, GPS, Camera, Proximity & several other sensors, Touch Gestures, etc. In other way of saying, they put all […]

Structure and Working of Android

  So far you might have enjoyed developing your First Android App. Now let us explore Structure and Working of Android. First let us understand how android Applications works When-ever we launch any Android  App, its AndroidManifest.xml is called. From here it checks required permissions, target OS version and explores other information like App version, […]