A simple calculator app for Android.
It can use all the basic operations, addition, subtraction, multiplication, and division. It can calculate decimal places and percentages also.
Sin, cos, and tan can be used in calculations.
Natural logarithms and 10-based logarithms can be calculated.
The app can store up to 10 previous calculations history. It stores both the input and output using shared preferences. If the history limit is crossed, the oldest history automatically gets deleted to make space for a new equation-result pair.
The app validates equations before calculation. It provides helpful feedback to the user as Toasts.
The delete button can delete a character at a time. The AC button clears the input and output fields and stores the input-output pair as the newest history.
You can clone the repo and open it with Android Studio to run the app.
git clone https://github.com/sajidifti/Android_Calculator