You are on page 1of 11

Z.H.

SIKDER UNIVERSITY OF SCIENCE AND TECHNOLOGY


‘’Mobile Application Project”

Project name: simple calculator.


Course title: Mobile Application Development LAB
Course code: CSE-1024(L)

Submitted by
Saurov Das Dipto

Id: 17011003

Batch:15th

Department:CSE.

Laxmi

Id:170110014

Batch: 15th

Department: CSE.

Submitted to
Shudeb babu sen omit

Lecturer,

Department of CSE.

Date:-30-08-20
Project overview:
A SIMPLE CALCULATOR ANDROID APP. THIS APP IS USEFUL FOR DOING SIMPLE ARITHMETIC
CALCULATIONS. THIS IS MY FIRST EVER APP. SIMPLE CALCULATOR project is a mobile
application which is developed in Android platform. This is simple and basic level small project
for learning purpose. you can modified this system as per your requriments and develop a
perfect advance level project. This mobile application 100% working smooth without any bug. It
is developed using JAVA, ANDROID.

Design and Coding side:


There are two part in android studio.1st part is design and 2nd part is coding. In the design section is XML
part we used (activity_main.xml) and in the code section part we used (MainActivity.java).

Activity_main.xml:
This is the design part.when we open xml file then we change our layout and adding some module.we
set LinearLayout and set [padding],[height],[width],[gravity],[orientation]……….
LinearLayout
In Linear layout function we added two Button two EditText and a textView .

#Edittext:

in EditText we set margin ,button id,width,height,textstyle margin ,button id,width,height. In that


edittext we set two hint and those hint name is “Enter number 1” and “Enter number 2”.in those hint is
shown when our project is build successful and our device has been open .
#Button:
In Linear layout function we also set two Button.In those button we added margin ,button
id,width,height..The 1 st button text name is ADD, and 2 nd buton text name is SUB.
#TextView:
In textView we set text ,text size ,width,height,margin,id. When we calculate the number in our project
the the textview show our the calculation result.
MainActivity.java:
Now we work our coding part that means our (mainactivity.java) part.in this part we do some code for
our project .at 1st the public class we creat and set the three private value .the 1st private value name is
for two Edittext and 2nd private value is for two Button and 3rd private value is for Textview.now we
working on oncreate methode..then we add listener.the listener is a part of textView because it showing
some text of our device .that means when we click the button and the listener has open.
Outpout:
The code has been complete then we build our code and the code is build successfully. And now open
our device and showing our output .
THE END

You might also like