A comprehensive, all-in-one Android calculator application built with Kotlin. This app goes beyond simple arithmetic, providing a suite of specialized tools for geometry, unit conversion, health, finance, and more.
- Basic Operations: Addition, subtraction, multiplication, and division.
- Scientific functions: Trigonometry (Sin, Cos, Tan), Hyperbolic functions, and Analysis.
- Constants: Access to common mathematical constants and number theory tools.
- Calculate Area, Perimeter, Volume, and Surface Area for various shapes:
- 2D Shapes: Circle, Square, Triangle, Rectangle, Sector, Regular Polygon.
- 3D Shapes: Sphere, Cylinder, Pyramid, Prism, Cone.
- Visual Preview: Real-time geometry preview and coordinate system visualization using custom views (
GeometryPreviewView,CoordinateSystemView).
- Common: Length, Area, Weight, Volume, Temperature, Time.
- Science/Engineering: Angle, Speed, Pressure, Force, Energy, Optics.
- Digital: Data Storage (B, KB, MB, GB, etc.).
- Finance: Real-time Currency Converter with live exchange rate updates via OkHttp.
- Electrical: Various electric units.
- Health: BMI (Body Mass Index) and BMR (Basal Metabolic Rate).
- Finance: Discount and Loan/Mortgage calculators.
- Lifestyle: Tip calculator (with bill splitting), Fuel cost/efficiency, and Unit Price comparison.
- Mathematics:
- Sigma (Σ): Summation calculator with custom expressions.
- Combinatorics: Permutations (P), Combinations (C), and Repetition Combinations (H).
- Base Converter: Decimal, Binary, and Hexadecimal.
- Number Info: Quick insights into number properties.
- Utility: World Clock for timezone conversions.
- Manage your calculations with a built-in notebook system to save and organize math notes.
- Language: Kotlin
- UI Framework: XML with ConstraintLayout and Material Components.
- Networking: OkHttp for fetching real-time currency rates.
- Concurrency: Kotlin Coroutines.
- Security: Conscrypt for modern TLS 1.2+ support on Android 5.0.
- Compatibility: Android 5.0 (API 21) and above.
:app- Main Android application module.com.liferlighdow.calculator- Base package.GeometryPreviewView.kt/CoordinateSystemView.kt- Custom drawing components.MainActivity.kt- Main entry point and basic calculator.SpecialCalculatorsActivity.kt- Host for specialized calculation tools.
- Android Studio: Ladybug (2024.2.1) or newer recommended.
- JDK: 11 or higher.
- Android SDK: Compile SDK 36.
# Clone the repository
git clone https://github.com/LiferLighdow/Calculator.git
# Navigate to directory
cd Calculator
# Build the APK
./gradlew assembleDebugThis project is licensed under the MIT License - see the LICENSE file for details.
Developed with ❤️ by LiferLighdow