Ready Mad

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

JSPM BHIVRABAI SAWANT POLYTECHNIC,

Wagholi
Academic year 2023-2024
MICROPROJECT ON

Android Application for Calculator

Title of microproject: Develop android application for calculator

Submitted by:

Roll no. Student Name Sign of Student

13 Om Rajesh Bhati

Signature of guide Signature of HOD

Miss. Swati Wale mam


Bhivarabai Sawant Polytechnic Wagholi,

PuneANEEXURE II Evaluation Sheet for

the Micro Project

Academic Year: 2023-24 Name of the Faculty: Miss Swati

Wale mam Course: Mobile application devlopment Course code: 22617

Semester: VI

Title of the project: Develop android application for Calculator

COs addressed by Micro Project:

A: ……………………………………………………………………………………………………………

B:……………………………………………………………………………………………………….……

C:…………………………………………………………………………………………………………….

D:…………………………………………………………………………………………………………….

Major learning outcomes achieved by students by doing the

project (a) Practical

outcome:……………………………………………………………

…………………

(b) Unit outcomes in Cognitive domain:………………………………………………………………

(c) Outcomes in Affective domain:…………………………………………………………………

Comments/suggestions about team work /leadership/inter-personal communication (if any)

…………………………………………………………………………………………………………………………………..

Roll no. Student Name Marks out off 6 for Marks out off 4 for Total
performance in performance in outoff
group activity oral/presentation 10
13 Om Bhati

(Name and Signature of Faculty)


INDEX

Sr.no Tittle
1 Abstract
2 Introduction
3 Code Implementation
4 Applications
5 Advantages

6 Disadvantages
7 Conclusion
8 References
Abstract

This report outlines the development process and key features of a modern calculator
application designed for mobile platforms. The project aimed to create a user-friendly
and versatile calculator that meets the needs of a diverse user base while leveraging
contemporary software development methodologies.

The report begins by detailing the requirements analysis phase, where user needs and
expectations were identified through market research and user feedback. Following
this, the design phase is discussed, outlining the architectural decisions, user interface
considerations, and feature prioritization.

The development process, utilizing Agile methodologies, is then described,


highlighting the iterative nature of the development cycle and the incorporation of
user feedback into each iteration. Key technical aspects such as programming
languages, frameworks, and APIs utilized in the development are also discussed.

The features of the calculator application, including basic arithmetic operations,


scientific functions, unit conversions, and customizable themes, are presented in
detail. Additionally, special emphasis is placed on the implementation of advanced
features such as history tracking, memory functions, and expression evaluation.

Furthermore, the report addresses the testing phase, including unit testing, integration
testing, and user acceptance testing, to ensure the reliability and accuracy of the
application. Quality assurance measures implemented to identify and resolve bugs
and performance issues are also discussed.

Finally, the report concludes with an evaluation of the project, discussing its
successes, challenges faced during development, and future directions for
enhancement. Overall, the development of the calculator application represents a
significant achievement in delivering a user-centric, feature-rich, and robust software
solution for mathematical computation on mobile devices.
INTRODUCTION

In an era where smartphones have become ubiquitous tools for everyday tasks, the
demand for intuitive and feature-rich calculator applications continues to grow. Whether
it's basic arithmetic calculations, scientific functions, or complex mathematical
operations, users expect calculators to be readily available, user-friendly, and capable of
meeting their diverse computational needs. This introduction serves as a prelude to the
comprehensive report detailing the development process and key features of a modern
calculator application tailored to address these expectations.

The objective of this report is to provide insights into the planning, development, and
implementation phases of a calculator application designed for mobile platforms. From
the initial ideation stage to the final product release, every aspect of the development
journey is documented, offering a transparent view of the methodologies, challenges,
and successes encountered along the way.

With the proliferation of smartphones and tablets, users now rely heavily on mobile
applications to streamline various tasks, including mathematical computations. Hence,
the significance of developing a robust and user-centric calculator application cannot be
overstated. This report delves into the intricacies of designing an application that not
only meets the fundamental requirements of arithmetic calculations but also caters to the
demands of advanced users by incorporating scientific functions, unit conversions, and
customizable themes.

Furthermore, the development of the calculator application adheres to contemporary


software development practices, including agile methodologies, iterative development
cycles, and continuous integration, ensuring flexibility, adaptability, and responsiveness
throughout the process. By embracing these methodologies, the project aims to deliver
a high-quality product that aligns closely with user expectations and industry standards.

As the report progresses, it will delve into the various phases of development, beginning
with requirements analysis and design, followed by implementation, testing, and
evaluation. Each phase plays a crucial role in shaping the final product, with careful
consideration given to user feedback, technical feasibility, and usability standards.

In essence, this report serves as a comprehensive guide to the development of a calculator


application, offering valuable insights into the strategies, techniques, and best practices
employed to create a reliable, efficient, and user-friendly solution. Through meticulous
planning, collaborative development, and rigorous testing, the project endeavors to
deliver a calculator application that not only meets the functional requirements but also
exceeds user expectations in terms of usability, performance, and innovation.
IMPLEMENTATION OF CALCULATOR

XML CODE:

<?xml version="1.0" encoding="utf-8"?>


<resources>

<color name="purple_200">#0F9D58</color>
<color name="purple_500">#0F9D58</color>
<color name="purple_700">#0F9D58</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>

<!--three different shades of black color-->


<color name="blac_shade_1">#292D36</color>
<color name="black_shade_2">#272B33</color>
<color name="black_shade_3">#22252D</color>
<color name="yellow">#ffa500</color>

</resources>

JAVA CODE:

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
// Creating variables for our text view and buttons
private TextView tvSec, tvMain;
private Button bac, bc, bbrac1, bbrac2, bsin, bcos, btan, blog, bln, bfact, bsquare, bsqrt,
binv, b0, b9, b8, b7, b6, b5, b4, b3, b2, b1, bpi, bmul, bminus, bplus, bequal, bdot, bdiv;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Initializing all variables.
tvSec = findViewById(R.id.idTVSecondary);
tvMain = findViewById(R.id.idTVprimary);
bac = findViewById(R.id.bac);
bc = findViewById(R.id.bc);
bbrac1 = findViewById(R.id.bbrac1);
bbrac2 = findViewById(R.id.bbrac2);
bsin = findViewById(R.id.bsin);
bcos = findViewById(R.id.bcos);
btan = findViewById(R.id.btan);
blog = findViewById(R.id.blog);
bln = findViewById(R.id.bln);
bfact = findViewById(R.id.bfact);
bsquare = findViewById(R.id.bsquare);
bsqrt = findViewById(R.id.bsqrt);
binv = findViewById(R.id.binv);
b0 = findViewById(R.id.b0);
b9 = findViewById(R.id.b9);
b8 = findViewById(R.id.b8);
b7 = findViewById(R.id.b7);
b6 = findViewById(R.id.b6);
b5 = findViewById(R.id.b5);
b4 = findViewById(R.id.b4);
b3 = findViewById(R.id.b3);
b2 = findViewById(R.id.b2);
b1 = findViewById(R.id.b1);
bpi = findViewById(R.id.bpi);
bmul = findViewById(R.id.bmul);
bminus = findViewById(R.id.bminus);
bplus = findViewById(R.id.bplus);
bequal = findViewById(R.id.bequal);
bdot = findViewById(R.id.bdot);
bdiv = findViewById(R.id.bdiv);
// Adding click listeners to all buttons.
b1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// Appending the expression to the text view.
tvMain.setText(tvMain.getText().toString() + "1");
}
});

}
}
Output:
Applications

1.Educational Sector: Calculator applications are widely used in educational settings, ranging
from elementary schools to universities. These applications can aid students in performing
mathematical calculations, understanding complex concepts, and conducting experiments. The report
provides insights into how the calculator application can be integrated into educational curricula to
enhance learning outcomes and promote mathematical proficiency among students.

2.Financial Sector: Professionals in the financial sector rely on calculator applications for a
variety of purposes, including budgeting, investment analysis, and financial modeling. The report
explores the potential applications of the calculator application in finance, highlighting features such as
compound interest calculations, currency conversions, and amortization schedules. It discusses how the
application can streamline financial calculations and improve decision-making processes for
individuals and businesses alike.

3.Engineering and Scientific Research: Engineers, scientists, and researchers often require
specialized calculator functionalities to solve complex equations, analyze data, and simulate
experiments. The report discusses the relevance of the calculator application in engineering and
scientific research, emphasizing features such as trigonometric functions, statistical calculations, and
unit conversions. It explores how the application can support professionals in conducting precise
calculations and facilitating data analysis in their respective fields.

4.Business and Commerce: In the business world, calculator applications play a vital role in
various operations, including inventory management, pricing strategies, and sales forecasting. The
report examines the applications of the calculator application in business and commerce, highlighting
features such as profit margin calculations, tax estimations, and discount calculations. It discusses how
the application can assist entrepreneurs and business owners in making informed decisions and
optimizing their financial performance.

5.Personal Use: Beyond professional settings, calculator applications are widely used for
personal tasks such as budgeting, shopping, and meal planning. The report explores how individuals
can benefit from the calculator application in their daily lives, offering features such as tip calculators,
mortgage calculators, and unit converters. It discusses how the application can empower users to
manage their finances, track expenses, and simplify everyday calculations with ease.

Overall, the applications of the calculator application development report extend across various
sectors and user demographics, highlighting its versatility, utility, and potential impact on diverse
aspects of modern life. By understanding these applications, stakeholders can gain valuable insights
into the significance of calculator applications and their role in fostering efficiency, productivity, and
innovation across different domains.
Advantages

1.Insightful Planning: The development report provides a detailed overview of the planning
phase, including requirements analysis, market research, and user feedback. This enables stakeholders to
gain valuable insights into user needs, market trends, and competitor analysis, thereby facilitating
informed decision-making and strategic planning for future development efforts.

2.Transparent Development Process: By documenting the development process from inception


to completion, the report offers transparency and accountability in project management. Stakeholders
can track the progress of the development team, understand the challenges encountered, and evaluate the
effectiveness of development methodologies and strategies employed throughout the project lifecycle.

3.Comprehensive Documentation: The report serves as a comprehensive documentation of the


calculator application development, covering all aspects including design considerations, technical
specifications, implementation details, testing methodologies, and evaluation criteria. This facilitates
knowledge transfer, collaboration among team members, and ensures continuity in development efforts
even in the absence of key personnel.

4.Resource Optimization: Through systematic planning and iterative development cycles, the
report helps optimize resource allocation, including human resources, time, and budget. By identifying
potential bottlenecks, risks, and dependencies early in the development process, stakeholders can
allocate resources effectively, mitigate risks, and ensure timely delivery of the final product.

5.Quality Assurance: The report outlines the testing methodologies, quality assurance measures,
and performance benchmarks used to validate the functionality, reliability, and performance of the
calculator application. This ensures that the final product meets the desired quality standards, complies
with industry regulations, and delivers a seamless user experience across different platforms and
devices.

6.Continuous Improvement: Beyond the initial development phase, the report provides a
foundation for continuous improvement and future enhancements of the calculator application. By
evaluating the project's successes, challenges, and areas for improvement, stakeholders can identify
opportunities for innovation, address user feedback, and adapt to evolving market demands effectively.

Overall, the calculator application development report offers numerous advantages for stakeholders,
including insightful planning, transparent development process, comprehensive documentation, resource
optimization, quality assurance, user-centric design, and opportunities for continuous improvement. By
leveraging these advantages, stakeholders can ensure the success of the calculator application
development project and maximize its impact on users and businesses .
Disadvantages

1.Resource Intensive: Developing a comprehensive report requires significant time, effort, and
resources from the development team. This can divert attention and resources away from actual
development tasks, potentially delaying project timelines and increasing overall project costs.

2.Documentation Overhead: The process of documenting every aspect of the development


process, including requirements, design decisions, implementation details, and testing methodologies,
can create a significant documentation overhead. This may lead to reduced productivity as developers
spend more time documenting their work rather than focusing on coding and problem-solving.

3.Scope Creep: In some cases, the development report may inadvertently contribute to scope
creep by encouraging stakeholders to add unnecessary features or functionalities to the application. This
can result in project delays, increased complexity, and higher development costs if not managed
effectively.

4.Potential for Misinterpretation: Despite efforts to create a clear and comprehensive report,
there is always the risk of misinterpretation by stakeholders who may not fully understand the technical
details or nuances of the development process. This can lead to misunderstandings, conflicts, and delays
in decision-making.

5.Lack of Flexibility: A detailed development report may become outdated quickly as the project
progresses and new requirements emerge. This lack of flexibility can hinder the agility and adaptability
of the development team, making it challenging to respond to changing priorities or market conditions
effectively.

6.Limited Audience: While the development report may be valuable for internal stakeholders
such as project managers, developers, and quality assurance teams, its usefulness to external
stakeholders, such as end-users or investors, may be limited. This can result in the report being
underutilized or overlooked by those who could benefit from its insights.

7.Potential for Information Overload: A comprehensive development report may contain an


overwhelming amount of information, making it difficult for stakeholders to extract key insights or
actionable recommendations. This can reduce the effectiveness of the report as a decision-making tool
and may require additional efforts to distill the information into more digestible formats.
Conclusion

In conclusion, the calculator stands as a quintessential tool that has transcended time, evolving
from ancient counting devices to modern electronic applications. Its historical journey reflects a
continuous quest for efficiency and precision in mathematical computations. The calculator's diverse
types, including mechanical, electronic, scientific, and graphing variants, cater to various needs
across disciplines. From simplifying basic arithmetic to facilitating complex scientific calculations,
calculators have become indispensable in both educational and professional settings. The advent of
digital calculator applications on computers and smartphones has further extended the accessibility
and versatility of these computational tools. These applications, readily available to a global
audience, offer convenience and portability, reshaping how individuals approach mathematical
problem-solving.

The key features embedded in calculators, such as basic arithmetic functions, scientific
capabilities, memory storage, and graphical representation, collectively contribute to their
indispensability in diverse fields. Scientific and graphing calculators, in particular, empower
students, scientists, engineers, and professionals by providing specialized functionalities suited to
their respective domains
References

 https://data-flair.training/blogs/build-scientific-calculator-app- android-
studio/

 https://www.clcoding.com/2021/02/calculator-in-android-studio- with.html

 https://www.scribd.com/document/488397259/Scientific-calculator- app-
Internship-Report

 https://stackoverflow.com/questions/69685219/calculate-in- android-
studio-java

You might also like