Skip to content

FlintsLabs/flintcalc-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlintCalc Android

Clean-room Android business and retail calculator prototype built with Kotlin, Jetpack Compose, and a pure Kotlin calculation core.

Target GitHub repository: FlintsLabs/flintcalc-android.

Modules

  • core: calculator engine, formatting, tax, memory, grand total, and cost/sell/margin logic.
  • app: Android Compose UI that depends on core.

Build

JAVA_HOME=/opt/homebrew/opt/java ./gradlew :core:test :app:assembleDebug

Release bundle:

JAVA_HOME=/opt/homebrew/opt/java ./gradlew :app:bundleRelease

The local Android SDK path is configured in local.properties for this machine:

sdk.dir=/Users/kanokpichasonsmacbookair/Library/Developer/Xamarin/android-sdk-macosx

MVP Acceptance Tests

Core unit tests cover:

  • Running-total behavior: 1 + 2 x 3 = 9
  • Context percent: 100 + 10 % = 110, 100 - 10 % = 90, 100 x 10 % = 10
  • Tax add/remove at 7%
  • Cost/Sell/Margin calculations
  • Memory, grand total, square root, backspace, and sign change

About

Android business and retail calculator built with Kotlin and Jetpack Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages