Number Converter
This Android project provides a simple number converter with support for binary, hexadecimal, decimal, and octal conversions.
Features
- Binary Conversion: Convert binary numbers to decimal, hexadecimal, and octal.
- Decimal Conversion: Convert decimal numbers to binary, hexadecimal, and octal.
- Hexadecimal Conversion: Convert hexadecimal numbers to decimal, binary, and octal.
- Octal Conversion: Convert octal numbers to binary, hexadecimal, and decimal.
Project Structure
MainActivity.java
The main activity that serves as the entry point for the application. It includes buttons to navigate to specific conversion activities.
BinaryActivity.java
Handles binary number conversions. Allows the user to input a binary number and convert it to decimal, hexadecimal, or octal.
DecimalActivity.java
Handles decimal number conversions. Allows the user to input a decimal number and convert it to binary, hexadecimal, or octal.
HexadecimalActivity.java
Handles hexadecimal number conversions. Allows the user to input a hexadecimal number and convert it to decimal, binary, or octal.
OctalActivity.java
Handles octal number conversions. Allows the user to input an octal number and convert it to binary, hexadecimal, or decimal.
How to Use
- Launch the application on your Android device.
- From the main screen, select the type of conversion you want to perform by clicking on the corresponding button.
- Input the number you want to convert in the provided text field.
- Click the conversion button to see the result.
- Use the "Back" button to return to the main screen and choose another conversion type.

