Practical - FY - MAD - 1 To 3
Practical - FY - MAD - 1 To 3
Practical - FY - MAD - 1 To 3
Mandal’s
Maharashtra Institute of Technology, Aurangabad
Department of Basic Sciences and Humanities
LAB MANUAL
ESC255 Mobile Application Development
(2022-23 Part II)
PO3: Design system components or processes to meet the desired needs within realistic constraints for the
public health and safety, cultural, societal and environmental considerations.
PO4: Use research-based knowledge and research methods including design of experiments, analysis and
interpretation of data for valid conclusions.
PO5: Select and apply modern engineering tools to solve the complex engineering problem.
PO6: Apply knowledge to assess contemporary issues.
PO7: Understand the impact of engineering solutions in a global, economic, environmental, and societal
context.
PO8: Apply ethical principles and commit to professional ethics and
responsibilities.
PO9: Work effectively as an individual, and as a member or leader in diverse teams and in
multidisciplinary settings.
PO10: Communicate effectively in both verbal and written form.
i
Course: ESC255: Lab-II: Mobile Application Development
Course Outcomes:
After Completing the course students will be able to
Use different layout and control flow for designing user Interface.
CO 3
Illustrate the process of publishing an android app on google play store. (III. Apply)
CO 6
ii
List of Experiment
2. Install Java Development Kit (JDK), Android Studio and Android SDK
12. Develop an application with login module to check username and password.
On successful login open another activity with welcome message otherwise
show invalid login.
1. Get familiar with different operating systems with similarities and differences.
THEORY:
Features of Android
1. Android is a powerful open-source operating system that open-source provides immense features
and some of these are listed below.
2. Android Open-Source Project so we can customize the OS based on our requirements.
3. Android supports different types of connectivity for GSM, CDMA, Wi-Fi, Bluetooth, etc. for
telephonic conversation or data transfer.
4. Using WIFI technology we can pair with other devices while playing games or using other
applications.
5. It contains multiple APIs to support location-tracking services such as GPS.
6. We can manage all data storage-related activities by using the file manager.
7. It contains a wide range of media supports like AVI, MKV, FLV, MPEG4, etc. to play or record a
variety of audio/video.
8. It also supports different image formats like JPEG, PNG, GIF, BMP, MP3, etc.
9. It supports multimedia hardware control to perform playback or recording using a camera and
microphone.
10. Android has an integrated open-source Web Kit layout-based web browser to support User
Interfaces like HTML5, and CSS3.
11. Android supports multi-tasking means we can run multiple applications at a time and can switch
between them.
12. It provides support for virtual reality or 2D/3D Graphics.
16 Database Local SQL database Support Local SQL Local SQL database
support database Support Support
17 Publisher 25-dollar onetime payment 99 dollar per year 19 dollar per year
account cost
Course Coordinator: Ms. A R Kothimbire 5 Approved By:HEAD BSH
18 Time taken by 2 Hours 2 weeks 2 weeks
app to be
visible in app
store
19 Latest os Android 13.0 iOS 16.4 Windows 10 mobile
version
20 Memory usage High Low High
21 Interface User Friendly User Friendly Not user Friendly
ASSESSMENT QUESTIONS:
Answer:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Answer:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
3. What are the layers of android architecture, list their importance and in which layer app resides?
Answer:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
AIM: Install Java Development Kit (JDK), Android Studio and Android SDK.
OUTCOMES:
• After completing the Experiment#2 students will be able to:
1. Understand steps in installation of JDK and Android Studio.
• 2. Make machine ready for will all the configured settings for android application
development.
PRE-REQUISITES:
1. Windows operating system.
2. Basics of Android operating system.
THEORY:
You need to identify your system specifications to choose the Product/file description. The website will
contain the latest version for your corresponding system. For Windows, we’ll be downloading the
latest x64 Installer of Java SE Development Kit 18. After the download is complete, proceed to
install the JDK by following the bootstrapped steps.
To set the Environment Variables, you need to search Environment Variables in the Task Bar and click
on “Edit the system environment variables”.
Do you want to allow this app to make changes to your device? Click yes for this window. Then the next
window comes.
Select “Android Virtual Device” and click next, it will ask the path as in next shown window,
Select it by default and click next as in following window.
1. What is AVD?
Answer:______________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
2. What is emulator
Answer:______________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Answer:______________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
OUTCOMES:
After completing the Experiment#2 students will be able to:
1. Understand steps of project creation in Android Studio.
2. Understand Android studio tool tabs and button function.
3. Able to run the ready project and see the emulation output on emulator.
PRE-REQUISITES:
1. Understanding of Android Studio.
2. Basics of Coding and Drag drop tool based GUI designing.
THEORY:
File --> new project -->select Phone and Tablet --> select Empty View Activity --> Click Next
Android Studio creates a folder for your projects, and builds the project with Gradle (this may take a few
minutes).
Just wait and don’t click anywhere ,a new window will automatically appear with avtivity_main.xml and
MainActivity.java tabs.
The Android Studio editor appears. Follow these steps:
Click the activity_main.xml tab to see the layout editor.
Click the layout editor Design tab, if not already selected, to show a graphical rendition of the layout as
shown below.
Click the MainActivity.java tab to see the code editor as shown below.
The Gradle build system in Android Studio makes it easy to include external binaries or other library
modules to your build as dependencies.
When you first create an app project, the Project > Android pane appears with the Gradle Scripts folder
expanded as shown below.
1. If the Gradle Scripts folder is not expanded, click the arrow to expand it.This folder contains all
the files needed by the build system.
2. Look for the settings.gradle (Project Settings) file.
By default, the settings file uses the pluginManagement block to configure the repositories Gradle uses to
search or download the Gradle plugins and their transitive dependencies.
The dependencyResolutionManagement block configures the repositories and dependencies used by all
modules in your project, such as libraries that you are using to create your application. When your
dependency is something other than a local library or file tree, Gradle looks for the files in whichever
online repositories are specified in the repositories block of this file. By default, new Android Studio
projects declare MavenCentral and Google (which includes the Google Maven repository) as the
repository locations:
All code and resources for the app are located within the app and res folders.
1. Expand the app folder, the java folder, and the com.example.helloworld folder to see
the MainActivity java file. Double-clicking the file opens it in the code editor.
On the right hand side Code and Design Buttons enable us to change the code in XML and see design
Changes. Also the Design changes ultimately change the code and vice versa.
2. Expand the res folder and the layout folder, and double-click the activity_main.xml file to open
it in the layout editor.
The res folder holds resources, such as layouts, strings, and images. An Activity is usually associated
with a layout of UI views defined as an XML file. This file is usually named after its Activity.
The manifests folder contains files that provide essential information about your app to the Android
system, which the system must have before it can run any of the app's code.
The AndroidManifest.xml file describes all of the components of your Android app. All components for
an app, such as each Activity, must be declared in this XML file. In other course lessons you will modify
this file to add features and feature permissions. For an introduction, see App Manifest Overview.
In this task, you will use the Device Manager to create a virtual device (also known as an emulator) that
simulates the configuration for a particular type of Android device, and use that virtual device to run the
app. Note that the Android Emulator has additional requirements beyond the basic system requirements
for Android Studio.
Using the Device Manager, you define the hardware characteristics of a device, its API level, storage,
skin and other properties and save it as a virtual device. With virtual devices, you can test apps on
different device configurations (such as tablets and phones) with different API levels, without having to
use physical devices.
In order to run an emulator on your computer, you have to create a configuration that describes the virtual
device.In Android Studio, select Tools > Device Manager, or click the Device Manager icon in the
toolbar. The Device Manager pane appears. If you've already created virtual devices, the pane shows
them (as shown in the figure below); otherwise you see a blank list.
1. Click the Create Device button. The Select Hardware window appears showing a list of pre
configured hardware devices. For each device, the table provides a column for its diagonal
display size (Size), screen resolution in pixels (Resolution), and pixel density (Density).
If a Download link is visible next to a system image you want to use, it is not installed yet. Click the link
to start the download, and click Finish when it's done.
4. After choosing a system image, click Next. The Android Virtual Device (AVD) window
appears. You can also change the name of the AVD. Check your configuration and click Finish.
In this task, you will finally run your Hello World app.
1. In Android Studio, choose Run > Select Device or click the devices dropdown next to
the Run icon in the toolbar and select the virtual device which you just created.
2. Choose Run > Run app or click the Run icon in the toolbar.
You should see the Hello World app as shown in the following figure.
Conclusion:-In Android Studio, navigate to the top menu and select Run 'app'. Android Studio
will show a dialog where you can choose which device to run your Android app on. Choose your
connected device and click the OK button. The Hello World application should now be running on your
phone.
1.App module contains which of the folders? Which are the most important files inside them.
Answer:__________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
Answer:__________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
5. Why lower versions are selected for application development while creating project?
Answer:__________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________