/Android-Calculator

This repository is an academic one for a calculator implmentation for Android OS built with natif Java and Rhino which is a JS Librairy

Primary LanguageJavaMIT LicenseMIT

Scientific CALCULATOR 🎓 💻

1.Project Presentation📌

  • This project is a Scientific Calculator,that any body can use it for counting a standard operations.

  • this is an application that allows us to practice the event management with a graphical interface a bit complex. It is therefore proposed to you to carry out a calculator, with a simple graphical interface.

  • The general organization requested in this project is :

  1. LinearLayout
    
  2. 2 TextViews at the top of the screen 
     input
     output
    
  3. TableLayout
     23 Buttons at the bottom
    

By using the LinearLayout with a vertical orientation, we placed 2 TextViews at the top of the screen on fullwidth with right-aligned text as well as a TableLayout at the bottom.

2.Technologies Used📌

1.JAVA Language::white_check_mark:

  • Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible. It is intended to let application developers write once, run anywhere, meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.

see also JAVA

2.Android:

  • Android is a mobile operating system based on a modified version of the Linux kernel and other open source software, designed primarily for touchscreen mobile devices such as smartphones and tablets.

3.Rhino: JavaScript in Java:

  • Rhino is a JavaScript engine written fully in Java and managed by the Mozilla Foundation as open source software. It is separate from the SpiderMonkey engine, which is also developed by Mozilla, but written in C++ and used in Mozilla Firefox.

How does a Rhino engine work? ✅
Rhino converts JavaScript scripts into classes. Rhino works in both compiled and interpreted mode. It is intended to be used in desktop or server-side applications, hence there is no built-in support for the Web browser objects that are commonly associated with JavaScript. i implemented it with gradle :

see also Rhino engine

3.FUNCTIONNALITIES 📌

<strong style="color:#050505">With this calculaor you can do the standard opeartions such as <span style="color:#25ed0e"> Addition / Substraction / Division / Multiplication / Modulo / opposition... </span>

4.how does it look ?

:::success yeaaaah it's like that ✅ :::

Conculsion 💯

  • This work allowed us to know how Android Studio works, and how XML and Java files communicate, how we can add components, and of course the way we want to customize our components in our application.

    • Finally I want say thank you to the one and only, My professor Mrs BOUIHI Bouchra Doctor Assistant in UH2 for his supporting and encouraging to us, also for giving us this opportunity to improve our skills in mobile development.

see also about Mrs BOUIHI


Created by :[name=ELMAJNI KHAOULA] [time=sun,2022,03,12][color=#EF0101]