0% found this document useful (0 votes)
9 views

Android Programming - Lecture 1

The document discusses Android programming and provides details about Android architecture, core building blocks, activity lifecycle, and the Dalvik Virtual Machine. It also includes a section on case study discussion and assignment on Android versions.

Uploaded by

Nishant nyol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Android Programming - Lecture 1

The document discusses Android programming and provides details about Android architecture, core building blocks, activity lifecycle, and the Dalvik Virtual Machine. It also includes a section on case study discussion and assignment on Android versions.

Uploaded by

Nishant nyol
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

BCA/B.Sc.

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.

• The modern JVM is high performance and provides excellent memory


management. But it needs to be optimized for low-powered handheld devices as
well.
DVM
• The javac tool compiles the java source file into the
class file.
• The dx tool takes all the class files of your application
and generates a single .dex file. It is a platform-
specific tool.
• The Android Assets Packaging Tool (aapt) handles the
packaging process.
Case Study Discussion
Assignment
Write all the Android Versions with their respective names and year. Also mention the updates which are there
been done from previous OS’s.

You might also like