Micro Project On Calculator in Android
Micro Project On Calculator in Android
Internship Report
Title-Calculator App
Registration No:17030141IT012
Bangalore
Bachelor of Technology
Declaration
This is to declare that the Report titled “ Calculator App” has been made for the partial
fulfillment of the Course: Industry Internship Programme (IIP) in Semester VI by me at
under the guidance of : Chetan J Shelke.
I confirm that this Report truly represents my work undertaken as a part of my Industry
Internship Programme (IIP). This work is not a replication of work done by any other
person. I also confirm that the contents of the report and the views contained therein have
been discussed and deliberated with the faculty guide.
Registration No : 17030141IT012
Bachelor of Technology
Certificate
This is to certify that Mr. Sharad Goyal Regn. No. 17030141IT012 has completed the
report titled: Calculator App under my guidance for the partial fulfillment of the Course:
Industry Internship Programme (IIP) in Semester VI of the Bachelor of Technology in
INFORMATION TECHNOLOGY.
Acknowledgement
Sharad goyal
TABLE OF CONTENTS
Abstract_______________________________(6)
Introduction____________________________(7)
Company profile________________________(8)
Project Study___________________________(11)
Result_________________________________(41)
Conclusion_____________________________(42)
Learning Outcomes______________________(43)
References______________________________(44)
Abstract
Chapter 1: Introduction
TOOLS USED
Arsenal contains
Workshops: Comprehensive two-day workshops in latest
technologies certified by Microsoft Technology Associate Program
and EC – Council
Training Sessions: Half to one Month long exclusive Curriculum
coverage in Advanced technologies
Associative Trainings: Trainings and Workshops with exclusive
certification from renowned industry giants
In house trainings: Specific In-house trainings in advanced
technologies
Corporate Technologies: Specifically shaped and prepared
advanced level curriculum for industry experts to get updated with
the latest in the industry
Special Summer/winter Trainings: Conducted on the most
demanded courses, these extended training focus on practical
application and preparing students for jobs in real life industry.
1. Background
1.1 Android
Android versions
2. Introduction to Android
Linux kernel
At the lower part of the layers is Linux - Linux 3.6 with around
115 patches. This gives a degree of deliberation between the
gadget equipment and it contains all the basic equipment drivers
like camera, keypad, and show and so on likewise, the bit handles
all the things that Linux is great at, for example, organizing and a
huge swath of gadget drivers, which remove the torment from
interfacing to fringe equipment.
Libraries
Android Libraries
Android runtime
This is the third segment of the engineering and accessible on the
second layer from the base. This segment gives a key part called
Dalvik Virtual Machine which is a sort of Java Virtual Machine
exceptionally planned and enhanced for Android.
Android framework
The Application Framework layer provides many higher-level
services to applications in the form of Java classes. Application
developers are allowed to make use of these services in their
applications.
Applications
You will discover all the Android application at the top layer. You
will compose your application to be introduced on this layer as it
were. Instances of such applications are Contacts Books, Browser,
Games and so forth.
3.1 Activities
Each time another action begins, the past action is halted, however
the framework protects the action in a stack (the "back stack"). At
the point when another action begins, it is pushed onto the back
stack and takes client center. The back stack stands to the essential
"toward the end in, first out" stack instrument, in this way, when
the client is finished with the current movement and presses the
Back catch, it is flown from the stack (and crushed) and the past
action resumes. At the point when a movement is halted in light of
the fact that another action begins, it is advised of this adjustment
in state through the action's lifecycle callback strategies. There are
a few callback strategies that a movement may get, because of an
adjustment in its state—regardless of whether the framework is
making it, halting it, continuing it, or obliterating it—and every
callback gives you the occasion to perform explicit work that is
suitable to that state change. For example, when halted, your
movement should deliver any huge articles, for example,
organization or information base associations. At the point when
the movement resumes, you can reacquire the important assets and
resume activities that were interfered. These state changes are all
important for the action lifecycle
3.2 Services
3.5 Intent
3. Android Studio
5. Android UI Design
5.1 Introducing layouts
Frame layout
Frame layouts are one of the least difficult design types used to
coordinate controls inside the UI of an Android application. They
are utilized less regularly than some different formats, basically on
the grounds that they are commonly used to show just one view, or
perspectives which cover. The proficiency of a casing format
settles on it a decent decision for screens containing not many view
controls (home screens, game screens with a solitary canvas, and
such). Some of the time other wasteful format plans can be
decreased to a casing design plan that is more proficient, while
different occasions a more particular format type is fitting. Casing
designs are the typical format of decision when you need to cover
sees.
Linear layout
Linear layouts are one of the easiest and most normal kinds of
designs utilized by Android engineers to arrange controls inside
their UIs. The direct design works much as its name infers: it sorts
out controls straightly in either a vertical or flat style. At the point
when the design's direction is set to vertical, all youngster controls
inside it are coordinated in a solitary segment; when the format's
Relative layout
Table layout
Text View
Edit Text
List View
Spinner
Button
Check Box
Radio Button
Scroll View
5.3 Menus
PopUp Menu
5.5 Toast
5.6 Adapter
the client that something has occurred out of sight. Notices can
take various structures:
To start with, it will have a screen to show the client inputs and as
a matter of course, it will show a "0". To make this we will utilize
Text View. At that point there will be another screen that shows
the outcome and the administrator. It will be a TextView as well.
At that point we'll have the keys, which will have numbers just as
the administrators on it. We'll utilize Buttons for this. We'll utilize
a linear format for this so we can organize the catches in the ideal
way.
Android Studio is the best and most proper IDE for Android
application improvement today. In any case, to chip away at
Android Studio, there are a few ideas that you should be enamored
with. Thus, you ought to have great hands on the accompanying
things to chip away at Android Studio:
2. Java Programming
Files Used
In this project, we will use few files to make the calculator app
work:
Resource folder: This envelope will have all the assets that
are helpful for this undertaking. Following are the rundown
of asset documents that are utilized in our undertaking:
Activity_main.xml File
JAVA File
Color File
Strings File
Style File
Test cases
Result
Using the code and running it on the ADK . The app successfully
starts and all the functions are working properly.
Conclusion
Learning Outcomes
REFERENCES
Books
1. www.tutorialspoint.com
2. www.w3schools.com
3. www.developer.android.com