Giter VIP home page Giter VIP logo

rtcalculator's Introduction

Logo

Calculator

Android calculator app

Screenshots

Click to show screenshots

Calculator screen Currencies screen Unit converter screen (simple appearance) Unit converter screen (half-powerful appearance) Unit converter screen (powerful appearance) Settings screen

Features

  • Calculator (yeah...)
    • Addition, subtraction, multiplication, division, brackets
    • Integer division, modulus, square root, power, percent, factorial
    • Trigonometry: sin, cos, lg, ln, tan, ctg. Degrees and radians
    • Constants: Pi, Euler, Golden ratio
    • Memory
  • Currency converter
    • Based on data from Russian Central Bank
    • Data can be updated automatically in background
    • Date selection: from 07.1992 till present
    • Setting to show only currencies you interested in
  • Unit converter
    • 3 appearances: simple, half-powerful, powerful
    • Categories:
      • Velocity: m/s, m/min, km/min, km/h, ft/s, mph, mach, kn
      • Distance: mm, cm, dm, m, km, in, ft, yd, mi, nmi, ly, arshin
      • Area: mm², cm², dm², m², km², a, ha, in², ft², yd², acre
      • Volume: mm³, cm³ (ml), dm³ (L), m³, in³, ft³, yd³, gal_uk, oz_uk, qt_uk, pt_uk, bbl
      • Mass: mg, g, kg, qq, t, gr, oz, lb, ct, u
      • Pressure: atm, at, Pa, hPa, kPa, bar, mmHg, mmWg, inHg, inWg, psi
      • Temperature: ˚C, ˚F, K, ˚Ra, ˚Ré

Other features

  • Material3-based app theming:
    • Follow System
    • Follow Battery Saver
    • Time-based Day/Night (time can be changed)
    • Light
    • Dark
    • Black
  • Selecting between Dark and Black in automatic (Follow System, Follow Battery Saver, Day/Night) themes
  • Android 12+ Dynamic Colors
  • Adaptive Icon && Android 13+ Themed Icon
  • Startup screen selection:
    • Calculator
    • Currency converter
    • Unit converter
    • Last opened

Used technologies, patterns, ...

  • Started in Java, migrated to Kotlin
  • MVVM
  • Room
  • Retrofit
  • Part of UI uses Jetpack Compose in minApi21 version
  • JUnit
  • CI (unit testing and publishing releases)
  • DI (started)

TODOs

  • DI (continue)
  • CI (code style)
  • More tests
  • Bug fixes
  • Upcoming Android features support (if any useful)

Building

Current limitation: you cannot build both minApi16 and minApi21 versions at the same time due to AGP limitations on Compose settings.

To build release artifact create local.properties file in project root and add following properties:

  • signing.storeFile - path to signature file
  • signing.storePassword - signature file password
  • signing.keyAlias - signature key name
  • signing.keyPassword - signature key password

rtcalculator's People

Contributors

arti1208 avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

rtcalculator's Issues

Split unit names

Split unit names into full name and short name. Use localized short name or English one?

Stabilize currencies list

LiveList's used in CurrenciesAddFragment and CurrenciesEditFragment are not very stable. Either stabilize them or switch ti LiveData<List<..>>

Restructure project

  • Move extensions to separate module
  • Combine all related view, models etc in same package instead of separation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.