Mad Project
Mad Project
Bachelor of Engineering
in
Computer Science and Engineering
Submitted by
SUBHASH R 1BG18CS107
SAGAR G U 1BG19CS088
SKANDA K J 1BG19CS101
CERTIFICATE
Certified that the Mini Project entitled CAR LOAN EMI CALCULATOR carried out by Mr.
Sagar G U , Mr. Subhash R, Mr. Skanda K J, USN 1BG19CS088, 1BG19CS107,
1BG19CS101, bona-fide students of VI Semester B.E., B.N.M Institute of Technology in
partial fulfillment for the Bachelor of Engineering in COMPUTER SCIENCE AND ENGINEERING
of the Visvesvaraya Technological University, Belagavi during the year 2021-22. It is certified
that all corrections/ suggestions indicated for internal Assessment have been incorporated in the
report. The project report has been approved as it satisfies the academic requirements in respect
of Mobile Application Development Laboratory Mini Projectprescribed for the said degree.
The success and final outcome of this project required a lot of guidance and assistance
from many people and I am extremely privileged to have got this all along the
completion of my project.
I would like to thank Shri. Narayan Rao R Maanay, Secretary, BNMEI, Bengaluru
for providing the excellent environment and infrastructure in the college.
I would like to sincerely thank Prof. T J Rama Murthy, Director, BNMIT, Bengaluru
for having extended his constant support and encouragement during the course of this
project.
I would like to thank Dr. Krishnamurthy G N, Principal, BNMIT, Bengaluru for his
constant encouragement.
I would like to thank, Dr. Sahana D. Gowda, Professor & Head of the Department of
Computer Science and Engineering for the encouragement and motivation she
provides.
I would also like to thank Mr. Karthik S, Assistant Professor, Department of Computer
Science and Engineering for providing me with her valuable insight and guidance
wherever required throughout the course of the project and its successful completion.
Subhash R 1BG19CS107
Sagar G U 1BG19CS088
Skanda K J 1BG19CS101
ABSTRACT
Nowadays, people are racing to achieve a comfortable standard of living. They work hard to support
their families and also to the satisfaction of his own life. It is not surprising if we see many who can
afford to buy houses and cars with full payment for the common interest. However not all are able
to do so, those who have large families are more likely to pay in monthly installments. For example
for car loan payment. Therefore our group has developed an application that will facilitate their
affairs that cannot afford for the full installment for the car itself. We developed an application called
“Car Loan Calculator” to reduce their problem. The purpose of this application is to help people
who want to purchase a car by using monthly installments. With this application also, people will
find out if they can afford their dream car using this user friendly car loan calculator. The user just
need to insert total amount of car, down payment, interest rate and loan period then the application
will calculate to the user how much user need to pay monthly within a certain period of time.
Table of Contents
ABSTRACT I
ACKNOWLEDGEMENT II
1. INTRODUCTION 1
1.1. Overview 1
1.2. Problem Statement 2
1.3. Mobile Application Development Importance 2
1.4. Android Studio 4
2. SYSTEM REQUIREMENTS 6
2.1. Software Requirements 6
2.2. Hardware Requirements 6
3. SYSTEM DESIGN 7
3.1. XML Design 7
3.2. XML Code 10
4. IMPLEMENTATION 12
4.1. Description 12
4.2. Java Code 14
5. RESULTS 18
6. CONCLUSION AND FUTURE ENHANCEMENTS 21
BIBLIOGRAPHY 22
List of Figures
I’m certain it’s easier to begin with a particular audience and also produce suggestions
depending on the requirements of this target audience.
Android Studio has many exciting features that can help you to develop your
Android application like:
• Powerful code editor with smart editing and code re-factoring.
• Emulator to show your code output in various resolutions, including Nexus 4,
Nexus 7, Nexus 10, and many other android phones.
• Gradle based build support.
• Maven Support.
• Template-based wizards.
• Dracula Theme Environment to enjoy your coding experience.
You can experience all the awesome features by using Android Studio in-hand.
• The toolbar lets you carry out a wide range of actions, includingrunning
your app and launching Android tools.
• The navigation bar helps you navigate through your project and open
files for editing. It provides a more compact view of the structure visible
in the Project window.
• The editor window is where you create and modify code. Depending on
the current file type, the editor can change.
• The tool window bar runs around the outside of the IDE window and
contains the buttons that allow you to expand or collapse individual tool
windows.
• The tool windows give you access to specific tasks like project
management, search, version control, and more.
• The status bar displays the status of your project and the IDE itself, as well as any
warnings or messages.
SYSTEM REQUIREMENTS
2.1 Software Requirements
Software requirements deal with defining software resource requirements and
prerequisites that need to be installed on a computer to provide optimal functioning of an
application.
SYSTEM DESIGN
Data Flow Diagram (DFD):
Data Flow Diagrams are a graphical tool used to describe and analyze themovement of data
through a system. DFD’s are used to capture the essential feature of both existing real system
and future physical implementation of the system. The DFD is agraphical technique that
depicts the information flow and the transforms that are applies as data move from input to the
output
3.1.1 DFD:
This shows outline of the System Models.
Activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/car"
tools:context=".MainActivity">
<Button
android:id="@+id/calculate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/teal_200"
android:text="CALCULATE"
android:textColor="#000000"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.879" />
<TextView
android:id="@+id/result"
android:layout_width="240dp"
android:layout_height="wrap_content"
android:text="RESULT :"
android:textColor="#DCF407"
android:textSize="24sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.508"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.637" />
<EditText
android:id="@+id/p"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="#E91E63"
android:ems="10"
android:hint="PRINCIPLE :"
android:inputType="textPersonName"
android:minHeight="48dp"
android:textColor="#6A6565"
android:textColorHint="#F1EBEB"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.497"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.26" />
<EditText
android:id="@+id/r"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="#E91E63"
android:ems="10"
android:hint="RATE :"
android:inputType="textPersonName"
android:minHeight="48dp"
android:textColor="#0EB4FF"
android:textColorHint="#F8F5F5"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.497"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.519" />
<EditText
android:id="@+id/n"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="#E91E63"
android:ems="10"
android:hint="TIME :"
android:inputType="textPersonName"
android:minHeight="48dp"
android:textColor="#ECE4E4"
android:textColorHint="#F8F2F2"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.497"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.387" />
<TextView
android:id="@+id/textView"
android:layout_width="402dp"
android:layout_height="42dp"
android:text="CAR LOAN EMI CALCULATOR"
android:textAlignment="center"
android:textColor="#B1D3ED"
android:textSize="24sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.023" />
</androidx.constraintlayout.widget.ConstraintLayout>
• Public Bundle ()
Constructs a new, empty Bundle. Android Bundle is used to pass data
between activities. The values that are to be passed are mapped toString
keys which are later used in the next activity to retrieve the values.
MainActivity.java
package com.example.myapplication3;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.widget.TextView;
import android.widget.Button;
import android.widget.EditText;
import android.view.View;
import android.widget.Toast;
import java.util.Locale;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
calculate = findViewById(R.id.calculate);
result = findViewById(R.id.result);
pe = findViewById(R.id.p);
ne = findViewById(R.id.n);
re = findViewById(R.id.r);
tts=new TextToSpeech(getBaseContext(), new TextToSpeech.OnInitListener() {
@Override
public void onInit(int i) {
if(i!=TextToSpeech.ERROR)
{
Toast.makeText(getBaseContext(),"SUCCESS",Toast.LENGTH_LONG).show();
}
}
});
tts.setLanguage(Locale.ENGLISH);
calculate.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
float p = Float.parseFloat(pe.getText().toString());
float n = Float.parseFloat(ne.getText().toString());
float r = Float.parseFloat(re.getText().toString());
float rate = (r / 1200);
float res = (float) (p * rate * Math.pow(1 + rate, n) / (Math.pow(1 + rate,
n) - 1));
result.setText("E M I = " + String.valueOf(res));
String text=result.getText().toString();
tts.speak(text,TextToSpeech.QUEUE_FLUSH,null);
}
});
}
}
Welcome page of car loan emi calculator application. The splash screen consists
of theapp name.
Figure 6.2
CONCLUSION:
The problem of the women safety is increased rapidly in this environment, so we
proposed as an effective Android application to prevent such type of the suspicious or
natural disaster, by alerting the concern authorities using the android mobile phone which
helps to stop such type of illegal activates and to trace the concern.
FUTURE SCOPE:
Scope of this project is very broad .Based on whether you have chosen a floating rate
or a fixed rate, the car loan EMI will change. In the case of floating rate, the EMI
will change based on the rate of interest for the month. However, the EMI will not
change if you have opted a fixed rate.
[2] Akshata V.S.1, Rumana Pathan2, Poor nima Patil3 and Farjana Nadaf4 , B’Safe &
B’Secure The Door to Safety Swings, Department of Computer Science Engineering,
KLS’s VDRIT, Haliyal, India, (IJCEM), ISSN: 2348 9510 Volume 1, Issue 7, October
2014
[4] http://en.wikipedia.org/wiki/andorid
[6] Bramarambika Thota , Udaya Kanchana Kumar .P, Sauver: An Android Application
For Women Safe-ty, MTech , Dept.Of ECE ,Vignan University , Guntur , India , M.sc ,
Computer Science , TJPS Co-lege,Guntur,India ,IJTEEE ,ISSN:2347-4289.VOL 3,ISSUE
05.