Android Programming - Lecture 1
Android Programming - Lecture 1
IT (V-Sem)
Course Code: BCI-543
Course Credit: 3
Android Programming
By
Mr. Honey Gocher
PhD. Scholar (Software Engineering)
Amity University Jaipur, Rajasthan
Android
What is Android
Android is a mobile operating system based on a modified version of the Linux
kernel and other open-source software, designed primarily for touchscreen
mobile devices such as smartphones and tablets.
What is Open Source
What is Linux Kernel
Core interface between Hardware and Its Processes.
Limitations
Lower App Standards
Lower Security and Vulnerable to data breaches.
Complex coding structures.
Android Architecture
Activity Cycle of Android
Android Lifecycle Call-Backs
Core Building Blocks of Android
• Activity
• An activity is a class that represents a single screen
• Intent
• Intent used to invoke components. It is mainly used to Start the service, Launch an activity, Display a web page.
• Views
• view is the UI element such as button, label, text field etc. Anything that you see is a view.
• Service
• a background process that can run for a long time. Local(Within) and Remote(from another app)
• Fragment
• are like parts of activity. An activity can display one or more fragments on the screen at the same time.
• Content Provider
• used to share data between the applications.
• Broadcast Receiver
• system-wide events that can occur when the device starts
• Mainifest.xml
• It contains information's about activities, content providers, permissions etc. It is like the web.xml file in Java EE.
Dalvik Virtual Machine
• The Dalvik Virtual Machine (DVM) is an android virtual machine optimized for
mobile devices. It optimizes the virtual machine for memory, battery life and
performance.