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 (MainActivity.java). 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 MainActivity.java File instead of XML Layout file, to create a rich User Interface on “Run Time”.   Source Code : TextView2.zip   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 : TextView1.zip   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 : Toast.zip   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. MainActivity.java Starting with our file MainActivity.java inside java folder which is called first on launching MyFirstApp. Refer the below […]

Developing my First Android Application

  So far we have Configured ADT Package and Created Android Virtual Device AVD. Now its time to start Developing my First Android Application.   Source Code : MyFirstApp.zip   Step : 1 Start Android Studio, open File > New > New Project from Menu Bar as shown in the Fig. — OR If you are starting […]

Importing Existing Project in Android Studio

Many a times you might need to use a previously created project or include libraries, for that purpose we have to  import project into Android Studio . Importing Existing Project In Android Studio Tutorial is a step-wise illustration, which you will require whenever you download source code from any of the post of NestedIF. Its very simple procedure, […]

Creating new Android Virtual Device (emulator) using Android Studio

Having all kind of Physical devices like Mobile phones / Tablets for testing is obviously quite an expensive thing. Android Virtual Devices are replacement of these actual Tablets / Mobile Phones for Testing purpose. One can have all possible Devices with Latest Operating System, Screen Size & Hardware compatibility, for that you just need to […]