Introduction to Programming for Android Using Android Studio

Course#: BSMD1146

About this Course

Course Type Course Code Duration
Mobile Development BSMD1146 2 Days

The main focus of this Android Programming course is to tech students how to develop the GUI for an Android based application. This Android Programming course is ideal for Java developers to get a quick entry into the Android platform.

Why Attend this Course?

What Makes this Course Stand Apart?

This is a highly interactive Hands on courses with the options of the Accelerator Plus1 Workshop.

Lot of demos, practical exercises and samples. Very strong presentation skill of the trainer. Good balance between theory and practice application.

What you will Learn?

Upon completion of this course, you will be able to:

The architecture of Android OS.
Using the Eclipse based development environment.
GUI development.
Supporting multiple languages.


Developers and architects who will be developing applications for Android devices.


To succeed fully in this course, students should be able to:
Program Java applications.

Course Outline

Chapter 1. Introduction to Android

What is Android?
A Short History
Advantages of Android
Disadvantages of Android
Android Version Distribution
Android Market Share

Chapter 2. The Development Environment

What Do We Need?
Setting Up the SDK
Setting Up the SDK – Bundle Install
Setting Up the SDK – Manual Install
Android Studio
Studio Welcome Dialog
Android Studio Projects
Android Studio Interface
Visual Designer
Gradle Build System
Modifying Android Project Settings
Virtualization and Android Studio
Create a Virtual Device
Creating a Project
Running Your Application
Run Configuration
Debugging an Application
Developing for Multiple Android Versions
Migrating to Android Studio from Eclipse

Chapter 3. The Architecture of Android

Key Components Stack
The Kernel
The Android Runtime JVM
Application Framework
Support Libraries

Chapter 4. Application Fundamentals

Recapping The Basics
Packaging an Application
Application Reusability Architecture
The Manifest File
Creating an Activity Class
Activity Lifecycle
Launching an Activity
Pausing and Stopping an Activity
Destroying an Activity
Activity Destruction Under Resource Shortage
Saving State
Creating Views
Registering an Activity
The Default Activity
Process Lifecycle
The Application Class
The Application Context

Chapter 5. Basic GUI Programming

The Fundamentals
View Hierarchy
Creating Views Programmatically
Creating View in XML Layout
More on XML Layout
Common Programming Tasks with Views
TextView and EditText
Multi-Line Text
Ellipsize Long Text
RadioButton and RadioGroup

Chapter 6. Layout Management

LinearLayout Orientation
match_parent (fill_parent) Example
Layout Gravity
Managing the Width
RelativeLayout Example

Chapter 7. Resource Management and Localization

Main Types of Resources
Defining Value Resources
Defining String Arrays
Creating Image Resource
Alternate Resource Folders
Alternate Folder Name Rules
Eclipse Tools for Android XML Files
How Android Finds Resources
Dealing with Screen Orientation
Orientation Change and Activity Lifecycle
Fix Orientation
Developing for Tablets
Basics of Localization
Testing for Localization
Loading Localized String from Code

Chapter 8. Intents and Intent Filters

What is an Intent?
The android.content.Intent Class
Explicitly Specifying Component’s Class
Example: An Activity Launching Another Activity
Implicit Target Component Specification
Intent Filters
Data Type Filter
Action Name
Category Name
Hint Matching Logic
Example Hint Matching
Default Component of an Application
Starting an Activity
Getting Output from Activity
Example of Launcher: ActivityA
Example of Launched: ActivityB
Pending Intent

Chapter 9. Fragments and Supporting Different Screens

The Problem
Screen Density
Screen Size
Size Qualifiers in Android 3.2
Supporting Multiple Screens
Declaring Screen Support in Manifest
Screen Compatibility Mode
Providing Alternate Resources
Scaling Images
Providing Alternate Layout for Large Devices
Fragment Example
Creating a Fragment
Adding a Fragment to an Activity
Managing Fragments
Detecting Fragments From Activities
Communicating With an Activity
Using Fragment Callback Interface
Fragment State
Supporting Fragments on Older Devices
Putting It All Together
Testing on Multiple Screens

Chapter 10. Application Menu

Defining Menu Items
Menu XML File
Option Menu
Populating Menu Items from Resource
Manipulating Menu Items
Handling Menu Item Click Event
Context Menu
Showing a Context Menu
Handling Context Menu Item Click

Lab Exercises

Lab 1. Setting up the Development Environment
Lab 2. Developing a Simple Application
Lab 3. Basic UI Development
Lab 4. Basics of Activity and Process Lifecycle
Lab 5. Using Simple Views
Lab 6. Layout Management
Lab 7. Resource Management
Lab 8. Localization
Lab 9. Using Intent to Launch Activities
Lab 10. Using Fragments
Lab 11. Working With Application Menu


Start typing and press Enter to search