Android

Execution Control Flow of an Android Application

As a beginner we need to know the complete execution control flow of an Android application. To understand the basic execution flow of an Android application, Lets take the  HelloWorld example for...

Directory Structure of an Android Application

Before going to discuss “HelloWorld” application from code prospective, We need to know directory structure of an android application. When we create a new android project from eclipse editor,...

Sample Android App Using layouts and view interaction

1. Target of this exercise In this exercise you learn how to interact between your user interface widgets using data binding. 2. Create handler for the view interaction Create the following...

Layout Manager and ViewGroups

1. Using a layout manager A layout manager is a subclass of ViewGroup and is responsible for the layout of itself and its childViews. Android supports different default layout managers....

Android views – UI Widgets

A view in Android represents a widget, e.g., a button, or a layout manager. The Android SDK provides standard views (widgets), e.g., via the Button, TextView, EditText classes. It...

Resources in Android

1. Resource files Android allows you to create static resources like images and XML configuration files. This allows you to keep these resources separate from the source code of your...

The Android manifest

Configuration of your Android application The components, settings and metadata of an Android application are described in theAndroidManifest.xml file. This file is known as the manifest file or the...

Base user interface components in Android

The following description gives an overview of the most important user interface related component and parts of an Android application. Activities Activities are the base for the user interface...

Parts of an Android application

Android application An Android application is a single installable unit which can be started and used independently of other Android applications. An Android application consists of Android components, Java...

Simple Android App using Android Studio

1. Target of this exercise In this exercise you create an Android project and start it on an Android virtual device via Android Studio. 2. Create a new Android project Press...