/redApp

A simple android calculator app

Primary LanguageJava

redApp

This is a simple calculator application developed for Android devices. The app provides a user-friendly interface and offers various functionalities for performing basic calculations.

Features

  • Addition: Perform addition of two numbers.
  • Subtraction: Perform subtraction of two numbers.
  • Multiplication: Perform multiplication of two numbers.
  • Division: Perform division of two numbers.
  • Percentage: Calculate the percentage of a number.
  • Memory: Store and recall a number.
  • DEL : Delete last entry
  • AC : Reset the calculator and clear any previous calculations.

Getting Started

To get started with the Android Calculator App, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the project in Android Studio.
  3. Build the project into an APK or app bundle.

Installation

  1. Connect your Android device to your computer.
  2. Transfer the APK or app bundle file to your device.
  3. On your Android device, navigate to the location where you transferred the file.
  4. Tap on the APK or app bundle file to install the application.
  5. Once the installation is complete, you will find the app in your app drawer.

Usage

  1. Open the calculator app on your Android device.
  2. Use the number buttons (0-9) to input your desired numbers.
  3. Select an operation (+, -, *, ÷) using the corresponding buttons.
  4. Tap the equals (=) button to display the result.
  5. To calculate the percentage of a number, enter the number, tap the percentage (%) button, and then enter the percentage value.
  6. To use the memory functionality, tap the memory (M) button to store a number. Tap it again to recall the stored number.
  7. Tap the clear (C) button to reset the calculator and start a new calculation.

File Structure

The project contains the following files:

  • app/src/main/java/com/example/calculator/MainActivity.java: The main activity class containing the calculator logic.
  • app/src/main/res/layout/activity_main.xml: The XML layout file defining the calculator UI.
  • README.md: The readme file.

Contributing

Contributions to the Android Calculator App are welcome. If you have any suggestions, improvements, or bug fixes, feel free to submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

  • The project was developed as an assignment in UG DCS DCIT 202 course.

Contact

For any inquiries or support, please contact gamegb3#7090 on discord.