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

Unit 2

The document discusses the Android operating system, Java Development Kit, Android SDK, Android Development Tools, Android Virtual Devices, emulators, Dalvik Virtual Machine, and the difference between JVM and DVM. It also outlines the steps to install and configure Android Studio and SDK.

Uploaded by

hehehe
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Unit 2

The document discusses the Android operating system, Java Development Kit, Android SDK, Android Development Tools, Android Virtual Devices, emulators, Dalvik Virtual Machine, and the difference between JVM and DVM. It also outlines the steps to install and configure Android Studio and SDK.

Uploaded by

hehehe
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Mobile Application Development [22617] CO-6-I

Unit II
Installation and Configuration of Android

OPERATING SYSTEM
A mobile operating system is an operating system for mobile phones, tablets, smart-
watches, 2-in-1 PCs or other mobile devices. While computers such as typical laptops are
'mobile', the operating systems usually used on them are not considered mobile ones, as they
were originally designed for desktop computers that historically did not have or need specific
mobile features. The Android operating system is a mobile operating system that was
developed by Google to be primarily used for touchscreen devices, cell phones, and tablets.
The Android Operating System is a Linux-based OS developed by the Open Handset
Alliance (OHA).

JAVA JDK

The Java Development Kit (JDK) is a software development environment used for
developing Java applications and applets. It includes the Java Runtime Environment (JRE),
an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator
(javadoc) and other tools needed in Java development.

The Java Development Kit (JDK) is one of three core technology packages used in
Java programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime
Environment). It's important to differentiate between these three technologies, as well as
understanding how they're connected:

 The JVM is the Java platform component that executes programs.


 The JRE is the on-disk part of Java that creates the JVM.
 The JDK allows developers to create Java programs that can be executed and
run by the JVM and JRE

ANDROID SDK

The Android SDK (software development kit) is a set of development tools used to
develop applications for Android platform. The Android SDK includes the following:
 Required libraries
 Debugger
 An emulator
 Relevant documentation for the Android application program interfaces (APIs)
 Sample source code
 Tutorials for the Android OS

ANDROID DEVELOPMENT TOOLS (ADT)


Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to
give you a powerful, integrated environment in which to build Android applications.

ADT extends the capabilities of Eclipse to let you quickly set up new Android
projects, create an application UI, add components based on the Android Framework API,

AIETP Computer Engineering Department Prof.D.R.Cholke


Mobile Application Development [22617] CO-6-I

debug your applications using the Android SDK tools, and even export signed (or unsigned)
APKs in order to distribute your application.

Developing in Eclipse with ADT is highly recommended and is the fastest way to get
started. With the guided project setup it provides, as well as tools integration, custom XML
editors, and debug output pane, ADT gives you an incredible boost in developing Android
applications.

ANDROID VIRTUAL DEVICES (AVDs)


An Android Virtual Device (AVD) is a configuration that defines the characteristics
of an Android phone, tablet, Wear OS, Android TV, or Automotive OS device that you want
to simulate in the Android Emulator. The AVD Manager is interfaces you can launch from
Android Studio that helps you create and manage AVDs.

EMULATORS

The Android Emulator simulates Android devices on your computer so that you can
test your application on a variety of devices and Android API levels without needing to have
each physical device.

The emulator provides almost all of the capabilities of a real Android device. You can
simulate incoming phone calls and text messages, specify the location of the device, simulate
different network speeds, simulate rotation and other hardware sensors, access the Google
Play Store, and much more.

Testing your app on the emulator is in some ways faster and easier than doing so on a
physical device. For example, you can transfer data faster to the emulator than to a device
connected over USB. The emulator comes with predefined configurations for various
Android phone, tablet, Wear OS, and Android TV devices.

DALVIK VIRTUAL MACHINE

Dalvik Virtual Machine (DVM) is an android virtual machine optimized for mobile
devices. It optimizes the virtual machine for memory, battery life and performance. Dalvik is
a name of a town in Iceland. The Dalvik VM was written by Dan Bornstein.The Dex
compiler converts the class files into the .dex file that run on the Dalvik VM. Multiple class
files are converted into one dex file.

Let's see the compiling and packaging process from the source file:

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.

AIETP Computer Engineering Department Prof.D.R.Cholke


Mobile Application Development [22617] CO-6-I

DIFFERENCE BETWEEN JVM AND DVM

Steps to install and configure Android Studio and SDK:

AIETP Computer Engineering Department Prof.D.R.Cholke

You might also like