Unit 2
Unit 2
Alfiya Mulla
Lecturer, Computer Engg.
A.I. ARKP, Panvel
Unit Outcome
• Describe function of the given component to operate the specified IDE.
• Explain the given term related to virtual machine.
• Explain the given basic term related to Android development tools.
• Describe the features of given android emulator.
• Describe the steps to configure the given android development environment
Important Questions
1. Define Dalvik Virtual Machine (DVM). [2m] [S22]
2. Differentiate between DVM and JVM. [4m] [S22 , sample]
3. Write down the steps to install and configure Android studio. [4m] [s22 , sample]
4. Define Android Virtual Devices (AVD). [2m]
5. Explore the Steps to install and configure Android Studio and SDK. [4m, sample]
6. Explain ADT Plugins in detail. [2m,sample]
7. Define Emulator. [2m,sample]
8. Explain features of Android SDK. [4m, W22]
Operating System
Android SDK
• 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 allows you to quickly set up new Android projects, create an application UI, add
packages based on the Android Framework API, debug your applications using the
Android SDK tools, and even export signed (or unsigned) .apk files in order to distribute
your application.
• Developing with ADT is highly recommended and is the fastest way to get started.
ADT Tools
1. Android Studio : Official IDE for all Android application
2. Android Debug Bridge: Command-line tool or “bridge”, Overall debugging.
3. Android Virtual Device Manager: Manages Android Virtual Devices.
4. Eclipse: Android app development IDE.
5. Fabric: helps to build better mobile apps. (kit includes beta-testing to
marketing and advertising tools.
6. FlowUp: helps to monitor the performance of apps in production.
7. GameMaker: stdio : creates 2-d android games
8. Genymotion: Another Android emulator. Popular among game developers.
9. Gradle: Build system for Android
10. IntelliJ IDEA: Android application development IDE.
AVD (Android Virtual Device)
• 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 an interface you can launch from Android Studio that helps you create and
manage AVDs.
Emulator
•16 GB RAM
•64-bit Windows, macOS, Linux, or Chrome OS operating system
•16 GB disk space
•If you don't have these specs, the emulator might still run but not smoothly.
Create an Android Virtual Device
• Dalvik Virtual Machine is a register-based machine that compiles byte code to get
dex code and that ensures that a device can run multiple instances efficiently.
Dalvik Virtual Machine (DVM)
• Dalvik is a register based Virtual Machine (VM).
• 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 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.
Compiling and packaging process from the source file