This is a simple calculator application for Android, built using Kotlin.
This project is a basic calculator that performs simple arithmetic operations such as addition, subtraction, multiplication, and division. The user interface is straightforward and easy to use.
- Basic arithmetic operations (+, -, *, /)
- Decimal point functionality
- Clear button to reset the input
- Handles negative numbers
- Kotlin: The primary programming language for the application.
- Android SDK: The software development kit for Android.
- AppCompat: Provides backward compatibility for older versions of Android.
- Material Components: A library of components for creating a user-friendly interface.
- Gradle: The build automation tool used for the project.
(Placeholder for screenshots of the application)
- Enter a number using the digit buttons.
- Press an operator button (+, -, *, /).
- Enter another number.
- Press the equals button (=) to see the result.
- Press the clear button (CLR) to reset the input.
To get this project running on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/android-calculator.git
- Open the project in Android Studio:
- Launch Android Studio.
- Select "Open an existing Android Studio project".
- Navigate to the cloned repository and select it.
- Build the project:
- Android Studio will automatically build the project. If not, go to "Build" > "Make Project".
- Run the application:
- Go to "Run" > "Run 'app'".
- Select an emulator or a physical device to run the application.