You are on page 1of 10

ANDROID – APP

DEVELOPMENT
JAVA SE AND DALVIK VIRTUAL
MACHINE
• JAVA SE - INCLUDES A SET OF API’s - to develop desktop and server
appplications.
• To design portable across multiple platforms.(write code once and
run it on different OS)
• Dalvik Virtual Machine is the virtual machine that runs Android
applications.
• Dalvik was specifically designed for mobile devices and is optimized
for low memory and CPU usage.
• In summary,
• both Java SE and Dalvik are virtual machines that can run Java code,
they are designed for different purposes and use different formats for
their bytecode.
• Java SE is designed for desktop and server applications,
• while Dalvik is optimized for mobile devices and is used to run
Android applications.
The Directory Structure of an Android Project
• he android project contains different types of app modules, source
code files, and resource files. We will explore all the folders and files
in the android app.
• Manifests Folder
• Java Folder
• res (Resources) Folder
• Drawable Folder
• Layout Folder
• Mipmap Folder
• Values Folder
Manifests Folder
• Manifests Folder
• Manifests folder contains AndroidManifest.xml for creating our android
application.
• This file contains information about our application such as the Android
version, metadata, (states package for Kotlin file – current version), and
other application components.
• It acts as an intermediator between android OS and our application.
• Kotlin is a general-purpose development language used mainly for Android
mobile app development.
• Besides Android apps, Kotlin is also useful for the following: Server-side
development. Back-end web app development traditionally uses Java.
Java
The Java folder contains all the java and Kotlin
source code (.java) files that we create during
the app development, including other Test
files.
Resources folder
• The resource folder contains all the non-code sources like images, XML
layouts, and UI strings for our android application.
• res/drawable folder
• It contains the different types of images used for the development of
the application. We need to add all the images in a drawable folder for
the application development.

• res/layout folder
• The layout folder contains all XML layout files which we used to define
the user interface of our application. It contains the main.xml file.
• res/values folder
• Values folder contains a number of XML files like strings, dimensions,
colors, and style definitions. One of the most important files is
the strings.xml file which contains the resources.

You might also like