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 […]

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, […]

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, […]