SWE2008 ANDROID
PROGRAMMING
Module – 1
Introducing Android
Introduction to Android Programming
Definition
Android has emerged as a game-changing platform for the mobile
development com munity. An innovative and open platform
Android is well positioned to address the growing needs of the mobile
marketplace as it continues to expand beyond early adopters and purchasers
of high-end smart devices
History – Mobile software development android
applications
• The Brick
• Wireless Application Protocol (WAP)
• Proprietary Mobile Platforms
• The Open Handset Alliance
• Google Goes Wireless
• Forming the Open Handset Alliance
• Manufacturers: Designing Android Devices
• Mobile Operators: Delivering the Android Experience
• Apps Drive Device Sales: Developing Android Applications
Android Development Environment
<SELO: 1,9> <Reference No.: 1>
The Android Platform
• Android is an operating system and a software platform upon which
applications are developed
• The platform was designed for the sole purpose of encouraging a free
and open market
• The Android platform is designed to be more fault tolerant than
many of its predecessors
• The device runs a Linux operating system upon which Android
applications are executed in a secure fashion
• Each Android application runs in its own virtual machine
• Android applications are managed code; therefore, they are much
less likely to cause the device to crash
Diagram of the Android platform architecture
Android platform architecture
• Linux Operating System
• Android Application Runtime Environment
• Security and Permissions
• Applications as Operating System Users
• Explicitly Defined Application Permissions
• Limited Ad Hoc Permissions
• Application Signing for Trust Relationships
• Multiple Users and Restricted Profiles
• Google Play Developer Registration
Android Development Environment Setup
• Configuring Your Development Environment
• The Java Development Kit (JDK), Version --
• The latest Android SDK
• A compatible Java IDE is required
Configuring Your Operating System for Device Debugging
To install and debug Android applications on Android devices, you
need to configure your operating system to access the phone via the
USB cable
Configuring Your Android Hardware for Debugging
Android devices have debugging disabled by default. Your Android
device must be en abled for debugging via a USB connection to allow
the tools to install and launch the applications you deploy
Essentials of android application development
• Android Programming Languages
• Two languages JAVA or C++ and XML(Extension Markup Language)
• Android Components
• Activities
• Services
• Broadcast Receivers
• Content Provider
• Structural Layout Of Android Studio
• Manifest Folder
• Java Folder
• Resource Folder
• Gradle Files