Loading repository data…
Loading repository data…
kariemSeiam / repository
Easily switch between binary, octal, decimal, and hexadecimal number bases with this simple and sleek converter. Features light/dark mode, clear/delete buttons, and an intuitive interface. Check out the screenshots and demo video! Get started by cloning the repo and opening it in Android Studio.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A modern, intuitive Android app for seamless number base conversions between Binary, Octal, Decimal, and Hexadecimal systems
Perfect for developers, students, and anyone working with different number systems. Features automatic dark/light mode, clean Material Design UI, and instant conversions.
📱 Download APK • 🎥 Demo Video • 📋 Features • 🚀 Quick Start
# Download the latest release
wget https://github.com/kariemSeiam/number-converter-app/releases/latest/download/base-converter.apk
# Install on your device
adb install base-converter.apk
# Clone the repository
git clone https://github.com/kariemSeiam/number-converter-app.git
cd number-converter-app
# Open in Android Studio and build
# Or build using Gradle
./gradlew assembleDebug
✨ That's it! Open the app and start converting numbers instantly.
| Feature | Binary | Octal | Decimal | Hexadecimal |
|---|---|---|---|---|
| Range | 0-1 | 0-7 | 0-9 | 0-9, A-F |
| Input Validation | ✅ | ✅ | ✅ | ✅ |
| Auto-formatting | ✅ | ✅ | ✅ | ✅ |
Watch the app in action: seamless conversions between different number bases with real-time results
Decimal 255 → Binary: 11111111
Binary 1010 → Decimal: 10
Hexadecimal FF → Octal: 377
Octal 777 → Hexadecimal: 1FF
app/
├── src/main/
│ ├── java/com/pigo/baseconverter/
│ │ └── MainActivity.kt # Main activity with conversion logic
│ ├── res/
│ │ ├── layout/
│ │ │ ├── activity_main.xml # Main UI layout
│ │ │ └── dropdown_item.xml # Base selector items
│ │ ├── values/
│ │ │ ├── colors.xml # Light theme colors
│ │ │ ├── strings.xml # App strings
│ │ │ └── themes.xml # Light theme
│ │ ├── values-night/
│ │ │ └── themes.xml # Dark theme
│ │ └── menu/
│ │ └── menu_conversion_bases.xml
│ └── AndroidManifest.xml
└── build.gradle # App-level dependencies
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.core:core-ktx:+'
implementation 'com.google.android.material:material:1.8.0'
}
# Clone the repository
git clone https://github.com/kariemSeiam/number-converter-app.git
cd number-converter-app
# Open in Android Studio
# File → Open → Select project directory
# Or build via command line
./gradlew build
./gradlew test./gradlew assembleDebug./gradlew assembleRelease// Main conversion logic
class MainActivity : AppCompatActivity() {
private fun convertNumber() {
val fromRadix = getRadixFromBase(fromBase)
val toRadix = getRadixFromBase(toBase)
val decimalNumber = inputNumber.toInt(fromRadix)
val result = decimalNumber.toString(toRadix)
}
private fun getRadixFromBase(base: String): Int {
return mapOf(
"Binary" to 2,
"Octal" to 8,
"Decimal" to 10,
"Hexadecimal" to 16
)[base] ?: 0
}
}
# Run unit tests
./gradlew test
# Run instrumented tests
./gradlew connectedAndroidTest
# Generate test coverage report
./gradlew createDebugCoverageReport
# Generate release APK
./gradlew assembleRelease
# APK location
ls app/build/outputs/apk/release/
App won't install?
Conversion shows "Invalid input"?
Dark mode not working?
We welcome contributions from the community! Whether it's bug fixes, new features, or documentation improvements.
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-featureThis project follows the Contributor Covenant Code of Conduct. Please be respectful and inclusive in all interactions.
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2023 Base Converter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.