Skip to content

Hardvan/Number-Convertor

Repository files navigation

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

  1. Launch the application on your Android device.
  2. From the main screen, select the type of conversion you want to perform by clicking on the corresponding button.
  3. Input the number you want to convert in the provided text field.
  4. Click the conversion button to see the result.
  5. Use the "Back" button to return to the main screen and choose another conversion type.

Screenshots

Screenshot 1

Screenshot 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages