MAD Lab Report Format

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELAGAVI

A Mini Project Report


On
TITLE OF THE PROJECT

Submitted in Partial fulfillment of requirement for the


MOBILE APPLICATION DEVELOPMENT LABORATORY WITH MINI
PROJECT (18CSMP68)
In
Computer Science & Engineering
By
STUDENT 1 3VC18CS001
STUDENT 2 3VC18CS002
STUDENT 3 3VC18CS003

Faculty In-Charge

Vinutha Prashanth
Assistant Professor,
CSE Department, RYMEC

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


ACCREDITED BY NATIONAL BOARD OF ACCREDITATION
RAO BAHADUR Y MAHABALESHWARAPPA ENGINEERING COLLEGE
CANTONMENT, BALLARI-583104, KARNATAKA
2021-22
VEERASHAIVA VIDYAVARDAHKA SANGHA’S

RAO BAHADUR Y MAHABALESHWARAPPA


ENGINEERING COLLEGE
(AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY,
BELGAUM & APPROVED BY AICTE, NEWDELHI)
BALLARI – 583104, KARNATAKA
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
ACCREDITED BY NATIONAL BOARD OF ACCREDITATION

CERTIFICATE

This is to certify that project work entitled “TITLE OF THE PROJECT” is


a bonafied Work carried out by SAI DEEPTHI K (3VC16CS081), SREE
LAKSHMI A (3VC16CS098) of 6th Semester in Partial fulfillment of
requirement for MOBILE APPLICATION DEVELOPMENT LABORATORY
WITH MINI PROJECT (18CSMP68) during the year 2021-22.

Signature of Staff - Incharge Signature of HOD


Mrs. VINUTHA PRASHANTH Dr. GIRISHA H
Assistant Professor, HOD, Dept. of CSE
Dept. of CSE, RYMEC RYMEC.

Name of Examiners: Signature with Date

1.

2.
ACKNOWLEDGEMENT

The satisfaction and excitement that accompany the successful completion of any task
would be incomplete without the mention of the people who made it possible, whose
constant guidance and encouragement crowned our effort with success.

We are highly indebted Mrs. VINUTHA PRASHANTH for guidance and constant
supervision as well as for providing necessary information regarding the project & also
for support in completing the project.

We wish to place on record our grateful thank to Dr. H. GIRISHA, Head of the
Department, Computer Science and Engineering RYMEC, Ballari for providing
encouragement and guidance.

We thank and appreciate the help of my friends in developing the project and people
who have willingly helped me out with their abilities.

PROJECT ASSOCIATES
 

SJ JEEJA BAI: 3VC17CS041

K.SAMEERA BANU: 3VC17CS044


ABSTRACT

This mini project on CLASSROOM TEACHER AND KIDS displays a classroom with kids
where teacher tries to teach the kids “A for Apple, B for Ball ...” Geometrically the
classroom is rectangular in shape, it consists of other rectangular boxes which
represents the walls , roof ,door , blackboard ,tube light, tables and desks and also
circle , semicircle , lines and vertices with proper coordinates for teacher and kids. There
is dark mode where you can switch off the tube light and the whole class will be dark.

This mini project has user interactions where it takes the input from keyboard strokes.
When ' n ' is pressed it continues from start screen and proceeds to next, ' b ' is pressed
it goes back to previous screen and when ' r ' is pressed it exit the screen.
CONTENTS

CHAPTERS

1. Introduction
1.1. Introduction to Android
1.2. Installation of android studio
1.3. Project execution steps

2. System Requirements
1.
2.
2.1. Software requirements
2.2. Hardware requirements

3. About the Project


3.
3.1. Introduction to the project
3.2. User defined functions

4. Design and Implementation


4.
4.1. Source Code

5. Snapshots

6. Conclusion

7. Future Enhancements

8. Bibliography
1. INTRODUCTION

1.1. Introduction to Android

Android operating system is the largest installed base among various mobile platforms
across the globe. Hundreds of millions of mobile devices are powered by Android in
more than 190 countries of the world. The company named Open Handset
Alliance developed Android for the first time that is based on the modified version of
the Linux kernel and other open-source software. Google sponsored the project at initial
stages and in the year 2005, it acquired the whole company. In September 2008, the
first Android-powered device was launched in the market. Android dominates the
mobile OS industry because of the long list of features it provides. It’s user-friendly, has
huge community support, provides a greater extent of customization, and a large
number of companies build Android-compatible smart phones. As a result, the market
observes a sharp increase in the demand for developing Android mobile applications,
and with that companies need smart developers with the right skill set. At first, the
purpose of Android was thought of as a mobile operating system. However, with the
advancement of code libraries and its popularity among developers of the divergent
domain, Android becomes an absolute set of software for all devices like tablets,
wearables, set-top boxes, smart TVs, notebooks, etc.

Features of Android

Android is a powerful open-source operating system that open-source provides


immense features and some of these are listed below.  

 Android Open Source Project so we can customize the OS based on our


requirements.
 Android supports different types of connectivity for GSM, CDMA, Wi-Fi,
Bluetooth, etc. for telephonic conversation or data transfer.
 Using wifi technology we can pair with other devices while playing games or
using other applications.
 It contains multiple APIs to support location-tracking services such as GPS.
 We can manage all data storage-related activities by using the file manager.

CSE Department, RYMEC, Ballari


 It contains a wide range of media supports like AVI, MKV, FLV, MPEG4, etc. to
play or record a variety of audio/video.
 It also supports different image formats like JPEG, PNG, GIF, BMP, MP3, etc.
 It supports multimedia hardware control to perform playback or recording using
a camera and microphone.
 Android has an integrated open-source WebKit layout-based web browser to
support User Interfaces like HTML5, and CSS3.
 Android supports multi-tasking means we can run multiple applications at a time
and can switch between them.
 It provides support for virtual reality or 2D/3D Graphics.
Programming Languages used in Developing Android Applications
1. Java
2. Kotlin
Developing the Android Application using Kotlin is preferred by Google, as Kotlin is made
an official language for Android Development, which is developed and maintained by
JetBrains. Previously before Java is considered the official language for Android
Development. Kotlin is made official for Android Development in Google I/O 2017.
Advantages of Android Development
 The Android is an open-source Operating system and hence possesses a vast
community for support.
 The design of the Android Application has guidelines from Google, which
becomes easier for developers to produce more intuitive user applications.
 Fragmentation gives more power to Android Applications. This means the
application can run two activities on a single screen.
 Releasing the Android application in the Google play store is easier when it is
compared to other platforms.
Disadvantages of Android Development
 Fragmentation provides a very intuitive approach to user experience but it has
some drawbacks, where the development team needs time to adjust to the
various screen sizes of mobile smart phones that are now available in the market
and invoke the particular features in the application.
 The Android devices might vary broadly. So the testing of the application
becomes more difficult.

CSE Department, RYMEC, Ballari


 As the development and testing consume more time, the cost of the application
may increase, depending on the application’s complexity and features.

1.2. Installation of android studio and SDK

Installing Android software is probably the most challenging part of this project. It takes
times - from 30 minutes to n hours to forever - depending on your luck, your
programming knowledge, and your PC. You probably need a fairly decent PC (with 8GB
RAM) and 10GB of free disk space to run the Android emulator!!! Running on "actual"
Android phone/tablet requires much lesser resources.
Step 0: Pre-Installation Check List
1. Before installing Android SDK, you need to install Java Development Kit (JDK).
Read "How to install JDK". Ensure that your JDK is at or above 1.8. You can check
your JDK version with command "javac -version" (compiler) and "java -
version"(runtime).
2. Uninstall older version(s) of "Android Studio" and "Android SDK", if any.
3. The installation and many operations take a LONG time to complete. Do NOT
stare at your screen or at the ceiling. Browse through the "Android for
Developers" @ https://developer.android.com.
4. We need to install two HUGE packages:
a. Android Studio (IDE) (about 1.6 GB), which is an Integrated Development
Environment (IDE) based on IntelliJ (a popular Java IDE); and
b. Android SDK (Software Development Kit) (about 5 GB) for developing and
running Android apps.
Step 1: Install "Android Studio IDE"
Reference: "Install Android Studio" @ https://developer.android.com/studio/install.
(For Windows)
1. Check that environment variable JAVA_HOME is set to the JDK installation
directory via command "set JAVA_HOME".
2. Check the system requirements for Android Studio/SDK - For Windows 10, 8GB
of RAM, 8GB of disk space, and 1280x800 minimum screen resolution. Take note
that you should have enough space on C drive. Insufficient space on C drive will
take you many days.

CSE Department, RYMEC, Ballari


3. Goto "Android Studio" under "Android Developers"
@ https://developer.android.com/studio ⇒ Click "Download Android Studio"
(Android Studio Bumblebee 2021.x.x for Windows 64-bit (872MiB)) to download
the executable installer "android-studio-2021.x.x.xx-windows.exe".
4. Run the downloaded installer ⇒
a. In "Choose Components", select "Android Studio" and "Android Virtual
Device" (space required: 2.7GB).
b. In "Configuration Settings Install Location", accept the default "C:\
Program Files\Android\Android Studio".
c. In "Choose Start Menu Folder", accept the default ⇒ Install.
d. Launch Android Studio. Continue to Step 2.
The "Android Studio IDE" will be installed in "C:\Program Files\Android\Android Studio",
and the "Android SDK" in "c:\Users\username\AppData\Local\Android\Sdk".
(For macOS)
1. Check the system requirements - macOS 10.14 or higher, 8GB of RAM, 8GB of
disk space, and 1280x800 minimum screen resolution.
2. Goto "Android Developer" under "Android Developers"
@ https://developer.android.com/index.html ⇒ Click "Download Options" ⇒
For Intel processor, choose "Mac (64-bit) Android-studio-2021.x.x.xx-mac.dmg
(928MiB)"; for Apple M1 ARM processor, choose "Mac (64-bit, ARM) Android-
studio-2021.x.x.x-mac_arm.dmg (925MiB)".
3. Launch the downloaded ".dmg" installation file ⇒ You may watch a short video
@ https://developer.android.com/studio/install.
4. Drag and drop Android Studio into the "Applications" folder. Continue to Step 2.
The "Android SDK" will be installed in "~/Library/Android/sdk", where ~ denotes your
home directory.
Note: If you see a warning that says "the package is damaged and should be moved to
the trash", goto "System Preferences" ⇒ Security & Privacy ⇒ under "Allow applications
downloaded from" ⇒ select "Anywhere". Then run again.
Step 2: Installing Android SDK
This step takes a long time as you need to download about 3GB of zip data, and expand
to 5 GB of disk data, even for the minimum configuration.
Note: You can actually copy the SDK from another computer with the same OS.

CSE Department, RYMEC, Ballari


(For Windows and macOS)
1. Launch Android Studio ⇒ It will run the "setup" wizard for the first launch.
a. Choose "do not import previous settings", and wait...
b. In "Welcome", choose "next".
c. In "Install Type", choose "Standard" (default).
d. In "Select UI Theme", choose one that you like (or default).
e. In "Verify Settings", take note of the SDK directory (by default @ c:\Users\
username\AppData\Local\Android\Sdk for Windows,
"~/Library/Android/sdk" for macOS):
f. In "License Agreement", Accept ALL items ⇒ Finish ⇒ Wait (this step will take
quite some time)
2. (For Windows) Use "File Explorer" to check the SDK installed directory. Take note
that the "AppData" is a hidden directory. You need to choose "View" ⇒ Uncheck
"Hidden Items" to see this directory.
(For macOS) Use "Finder" to check the SDK installed directory.
3. You can also use "Android Studio" to check the SDK packages installed by
selecting "More Actions" (or "Configure" in older versions, or "Tools") ⇒ "SDK
Manager" ⇒ "Android SDK" (sidebar):
o Under "SDK Platforms" tab:
 Android API 32
o Under "SDK Tools" tab:
 Android SDK Build Tools 33-rc1
 Android Emulator
 Android SDK Platform-Tools (33.0.0)
 Intel x86 Emulator Accelerator (HAXM installer)

CSE Department, RYMEC, Ballari


2. SYSTEM REQUIREMENTS

2.1. Software requirements

 Operating system: Windows 10 or higher


 Integrated Development Environment: Android Studio (Latest Version)
 Development Kits: Java JDK and Android SDK

2.2.Hardware requirements

 64-bit Microsoft® Windows® 8/10/11


 x86_64 CPU architecture; 2nd generation Intel Core or newer, or AMD CPU with
support for a Windows Hypervisor
 8 GB RAM or more
 8 GB of available disk space minimum (IDE + Android SDK + Android Emulator)
 1280 x 800 minimum screen resolution

CSE Department, RYMEC, Ballari


3. ABOUT THE PROJECT

3.1. INTRODUCTION TO THE PROJECT

3.2. USER DEFINED FUCNTIONS

1. List of all user defined functions in your project (if any) and a brief explanation about
its functionality

CSE Department, RYMEC, Ballari


4. DESIGN AND IMPLEMENTATION

4.1. Source Code:

CSE Department, RYMEC, Ballari


5. SNAPSHOTS

CSE Department, RYMEC, Ballari


6. CONCLUSION

7. FUTURE ENHANCEMETS

Our future enhancement is this project is “The teacher moving across the classroom during the
class, students going out of the class after the class completes and even teacher moving out of the
class”.

8. BIBLOGRAPHY

8.1. Text book references

8.2. Web references

https://developer.android.com/studio/install
https://www3.ntu.edu.sg/home/ehchua/programming/android/Android_HowTo.html
https://github.com
http://www.geeksforgeeks.org

CSE Department, RYMEC, Ballari

You might also like