[go: up one dir, main page]

0% found this document useful (0 votes)
149 views4 pages

Practical No. 02

This document is a lab report from a student named Diksha Sunil Jadhav for their mobile application development course. It details the steps to install the Java Development Kit (JDK), Android Studio, and Android SDK. It also lists IDEs that can be used to develop Android applications and differentiates between the Java Virtual Machine and Dalvik Virtual Machine. Finally, it defines what an IDE is and why the JDK is essential for Android development due to Java being the primary programming language and its role in providing tools, libraries and compatibility.

Uploaded by

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

Practical No. 02

This document is a lab report from a student named Diksha Sunil Jadhav for their mobile application development course. It details the steps to install the Java Development Kit (JDK), Android Studio, and Android SDK. It also lists IDEs that can be used to develop Android applications and differentiates between the Java Virtual Machine and Dalvik Virtual Machine. Finally, it defines what an IDE is and why the JDK is essential for Android development due to Java being the primary programming language and its role in providing tools, libraries and compatibility.

Uploaded by

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

DEPARTMENT OF COMPUTER ENGINEERING

Subject: Mobile Application Development (MAD) Subject Code: 22617


Semester: 6 Course: CO6IA
Laboratory No: V119 Name of the Subject Teacher: Prof. Prasad Koyande
Name of the Student: Diksha Sunil Jadhav Roll Id: 21203A0057

Experiment No. 02
Title of the experiment Install and configure java development kit (JDK), Android studio and android
SDK.

Practical Related Questions:

1. List all the steps to install android studio

a. Visit the Android Studio Download Page:

Open a web browser and go to the official Android Studio download page: Android Studio
Download.

b. Choose the Correct Version:

Ensure that you download the version of Android Studio that is compatible with your operating
system (Windows, macOS, or Linux).

c. Download Android Studio:

Click on the "Download Android Studio" button. This will start the download process.

d. Review Terms and Conditions:

Read and review the terms and conditions provided by Google for using Android Studio.

e. Run the Installer:

Once the download is complete, run the installer. The installation process may vary slightly
depending on your operating system.

 For Windows:
o Run the downloaded executable file (e.g., android-studio-ide-xxx.xxx.xxx.xxx-
windows.exe).
o Follow the on-screen instructions to install Android Studio. You may be prompted
to choose installation options, such as the location where Android Studio will be
installed.

Diksha Jadhav – 21203A0057 Page No. | 1


 For macOS:
o Open the downloaded DMG file (e.g., android-studio-ide-xxx.xxx.xxx.xxx-
mac.dmg).
o Drag and drop Android Studio into the "Applications" folder.
 For Linux:
o Extract the downloaded ZIP file to a location of your choice.
o Navigate to the extracted folder and run the studio.sh script to start Android
Studio.

f. Launch Android Studio:

After the installation is complete, launch Android Studio. The first time you run it, you may need
to set up the Android Studio environment, including downloading additional components and
configuring SDK settings.

g. Set Up Android Virtual Device (AVD):

Android Studio includes an emulator called the Android Virtual Device (AVD). You may need to
set up an AVD to test your applications. You can do this through the AVD Manager within Android
Studio.

h. Update SDK Components (if needed):

Android Studio may prompt you to update SDK components or download additional tools. Follow
the prompts to ensure you have the latest SDK components.

i. Start Developing:

Once the installation and setup are complete, you're ready to start developing Android
applications using Android Studio.

2. List various IDEs that can be used to execute android operating system.

 Android Studio
 Eclipse with ADT (Android Development Tools) Plugin
 IntelliJ IDEA
 Visual Studio with Xamarin
 NetBeans with NBAndroid Plugin
 Xcode (for macOS, with Flutter or NativeScript)
 React Native (with Visual Studio Code, Atom, etc.)

Diksha Jadhav – 21203A0057 Page No. | 2


Exercise:

1. Differentiate between JVM and DVM.

Java Virtual Machine (JVM) Dalvik Virtual Machine (DVM)


JVM supports multiple operating systems DVM supports only Android operating system
JVM forms separate classes in separate .class DVM forms multiple classes in .dex byte code
byte code files. files.
It is based on stack based virtual machine It is based on register based virtual machine
architecture architecture
JVM runs on more memory DVM runs on less memory
The executable format of JVM is jar The executable format of DVM is ask
JVM has different constant pools. DVM has common constant pools.

2. What is IDE? Why Java development toolkit is essential to install an android


operating system?

IDE (Integrated Development Environment):

An IDE, or Integrated Development Environment, is a software application that provides


comprehensive tools and features to facilitate software development. It typically combines a
code editor, a debugger, build tools, and other utilities into a unified user interface. IDEs aim to
streamline the development process by offering a centralized environment where developers
can write, test, and debug their code efficiently.

Java Development Toolkit and Android Operating System:

The Java Development Toolkit (JDK) is essential for Android development due to the following
reasons:

1. Programming Language: Java is the primary programming language used for Android app
development. The Android SDK (Software Development Kit), which includes tools and
libraries for Android development, is designed to work seamlessly with Java.

2. Java Virtual Machine (JVM): Android applications are executed on a Java Virtual Machine
(JVM) that runs on Android devices. The JVM interprets or compiles Java bytecode into
machine code that can run on different hardware architectures. The JDK includes tools
like javac (Java compiler) to compile Java source code into bytecode.

3. Java Standard Libraries: Android applications often leverage the Java Standard Libraries,
which are included in the JDK. These libraries provide a wide range of functions and
utilities that developers can use in their Android projects.

4. Compatibility: The Android operating system, in its early stages, adopted Java as its
primary development language. While Android applications are now developed using
Kotlin as well, Java remains a crucial language for Android development. The JDK ensures
compatibility with Java-based Android development.

Diksha Jadhav – 21203A0057 Page No. | 3


5. Tools and Utilities: The JDK provides essential tools, such as the Java Compiler (javac),
debugger, and other utilities, which are necessary for developing, compiling, and
debugging Android applications.

In summary, the Java Development Toolkit is essential for Android development because it
provides the necessary language, runtime environment (JVM), libraries, and tools for writing,
compiling, and running Android applications written in Java. While Android development has
expanded to support other languages like Kotlin, the foundational role of Java and the JDK in the
Android ecosystem remains significant.

Process related (15M) Product related (10 M) Total (25) Sign of the teacher

Diksha Jadhav – 21203A0057 Page No. | 4

You might also like