Giter Site home page Giter Site logo

simplemobiletools / simple-calculator Goto Github PK

View Code? Open in Web Editor NEW
567.0 25.0 359.0 74.11 MB

A calculator for quick simple calculations with a nice user interface and no ads

Home Page: https://www.simplemobiletools.com

License: GNU General Public License v3.0

Kotlin 99.21% Ruby 0.79%
opensource android calculator kotlin freedom

simple-calculator's Introduction

Simple Calculator

Logo

This stylish modern calculator offers great user experience that you will love seeing. You can copy the result or formula to clipboard by long pressing it. You can also use this calculator as a currency converter to calculate your daily income and other amount in different country's currency. With eye soothing dark theme, it is now easy for you to see buttons and numbers more easily and use this calculator for simple calculations or use it as a currency converter or as a calculator and graphing calculator. You can also use this math calculator as a mortgage calculator

The app is a simple helper for fast calculations with many basic functions including multiplying, dividing, root and powers. It also comes with dark theme so that you can use this new technology to make your calculator look more smooth and easy to use rather than using sharp colors provided in different calculators that can't help you concentrate on your complex calculations in this graphing calculator and math calculator.

You can make it vibrate on button presses to make you confident during inserting your values. The exquisite colors used in this app are cool and look smooth to eyes so you can easily distinguish between all the buttons and calculate with ease. This calculator can be used to solve complex root problems or it can also be used as currency converter or graphing calculator.

There is an option in setting to prevent the phone from sleeping while using the app for comfortable usage and keep working on your complex problems in this currency converter and graphing calculator plus math calculator.

The text color of the resizable widget can be customized, as well as the color and the alpha of the background. Press the result or formula in the widget to open the app.

You can access a history of the operations to quickly scan through recent calculations.

It comes with material design and dark theme by default, provides great user experience for easy usage. The lack of internet access gives you more privacy, security and stability than other apps.

Contains no ads or unnecessary permissions. It is fully opensource, provides customizable colors.

Features:

  • Easy to use calculator.
  • Operations history
  • Comes with dark theme to allow smooth usage of calculator.
  • Works as a currency converter to help you calculate your incomes and other amounts.
  • Can be used as a graphing calculator to calculate graphs quickly.
  • Customizable text color to make it look more cool and according to your needs.
  • Buttons sized according to the average finger tapping on screen to make calculations more comfortable.

Check out the full suite of Simple Tools here:
https://www.simplemobiletools.com

Facebook:
https://www.facebook.com/simplemobiletools

Reddit:
https://www.reddit.com/r/SimpleMobileTools

Telegram:
https://t.me/SimpleMobileTools

Get it on Google Play Get it on F-Droid

App image App image App image

simple-calculator's People

Contributors

aga-c avatar albertopellitteri avatar artemmolotov avatar bozicm avatar dalampira avatar dchid avatar en2sv avatar esensar avatar fricyo avatar funkymuse avatar inepsie avatar linerly avatar liquidvacuum-by avatar ltguillaume avatar milotype avatar naveensingh avatar nuclearphoenixx avatar ochagovdanil avatar oersen avatar rex07 avatar slavekb avatar smarquespt avatar solokot avatar spkprs avatar tibbi avatar trubitsyn avatar txemaq avatar weblate avatar welaq avatar westindev-lbr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-calculator's Issues

order of operations

Order of operations doesn't seem to work.
Example: 2+3*4 result is 20, but that's wrong. The correct result should be 14.

Multi Selection not working

Hi very nice app but there is a bug.

in DayActivity.java if you multiselect items they are never getting deleted .
Only if you select one item it works. Also i´m getting a database error while selecting multiply items.

In DBHelper i have changed deleteEvent to make it working if i select multiply items like this:

public void deleteEvents(String[] ids) {
StringBuilder placeholders = new StringBuilder();
for (int i = 0; i < ids.length; i++) {
if (i != 0)
placeholders.append(", ");

        placeholders.append("?");
    }
    final String selection = COL_ID + " IN (" + placeholders.toString() + ")";
    db.delete(TABLE_NAME, selection, ids);
    db.close();

   if (mCallback != null)
      mCallback.eventsDeleted(ids.length);
}

greets frank

[Feature request] Talking calculator

I will switch to this calculator and donate if you can make it talk. There are others in the play store that do so but they are buggy and full of ads. One even calls me dear which is a bit creepy.

The organisation I volunteer for (AilityNet),'s clients would appreciate this as well since most of them have limitations due to their conditions.

[Bug] NaN error

To reproduce the bug:

  1. input -1
  2. square root
  3. result NaN
  4. clear with C
  5. Fatal Exception: main - Invalid double: "Na"

I also believe there is a confusing behaviour with negative numbers

New logo

Hi, @SimpleMobileTools I am a graphic designer, I want to help others in graphic design.

After I reviewed your project, Your logo is very simple and not interested. Therefore I want to contribute to this project by creating a new logo / icon. what do you think?

app crashing during sqrt operation

Non ho esattamente chiaro quasi sia l'operazione che sta cercando di eseguire. Se il risultato dell'operazione precedente è un numero negativo e l'operazione successiva è una radice l'applicazione va in crash.
Esempio di sequenza che manda in crash: -1 = then sqrt (any number) instantly closes app

app version: 5.0.2

Bug with the operator - App Crash

Hi,

Application should not allow multiple operator append.
In my test, it simply allows the operators to be clicked multiple times (its ok, if you can invalidate or something and append only once within an equation and calculate before the next operator can be applied).

untitled

Now after this if I click on OK. the app crashes. (Tested on Lenovo K3 Note Device + Emulators)

N Baua

Please add % button

square root is far less used than %. as there are much more SIMPLE usages of % than of sr.
please add % ( or replace root button with it).thanks

operator priority

multiplication/division should have priority over addidtion/subtraction

to test: enter something like 2+2*3
correct result would be: 8
current result is: 12

"Purchase Simple Thank You" bug?

Hello,

After upgrading to android 11, this error happened (didn't occur on android 10), it displays Purchase simple Thank You at top of settings, with shared theme not working.

This same issue occurs with Clock and Voice Recorder, however it does not occur with Gallery, Calendar, or dialer. As for other simple apps, i dont know.

I have tried uninstall, reboot and reinstall of both the app and the thank you app. I have installed the latest version availible of each from Fdroid, stable versions.

I have a pixel 4, android 11 october update.

Add more features and make the calculator more kiddy interface

I want to implement 3 features to this calculator which

  1. able to view fraction or division as in pie diagram for better visual.
  2. to have voice when letters are type.
  3. to change all the variable into a more kid like interface, such as * into X and a fancy font.

thank you

FAQ entry for clearing data?

It took me a long time to accidentally find out that pressing the C for a longer time clears the input at once.

I was tapping the C shortly endlessly to operate like a backspace to clear the screen every time i wanted to start a next calculation.

Is this long-press-on-C-to-clear-at-once functionality worth a FAQ entry? I could add it and also create the Dutch translation.

Add brackets

Brackets are pretty important even for simple operations, would be good to have. It doesn't need to be a scientific calc but brackets are quite basic.

Make symbols appear in input

For example if you type "5+2" only "5" appears in input window. It would be more intuitive and more mistake-proof if all your inputs appeared on-screen in real time.

Clears everyting on the screen

Add a button that clears the result on the last operation on the first click, and clears the all history on the second click

App name not translated

This app is the only one of your Simple apps that doesn't use the translated app name after the installation. It just shows up as "Calculator" although the German name should be "Rechner".

Multiplication/division with negative numbers

Hi

I wanted to do a multiplication or division with negative numbers, but Simple Calculator v4.1.0 doesn't recognize the arithmetic operator for multiplication or division in between negative numbers.

Examples:
Entering -100 / -5 will become to -100 -5 = -105
Entering -100 * -5 will become to -100 -5 = -105

Calculator Widget Issues starting with 5.1.2 release

The Simple Calculator widget has always worked just fine on my Android 7.1.2 (Lineage based ROM.) But I've noticed that the widget doesn't work correctly on Android 9 (OnePlus 6; with the last version of Oxygen OS 9 and/or with a Lineage 16/Android 9 based custom ROM.) I think it might be due to changes in Android 9? (I am not sure.)

Edit: It is not just Android 9, Simple Calculator Version 5.1.0 widget works perfectly on Android 9, the widget broke in version 5.1.2 and remains broken in the latest 5.1.3 release. I don't know how to fix it or I'd offer to help. I don't know anything when it comes to GUI stuff 🤔.

I use F-Droid releases (no 5.1.1 on F-Droid) but 5.1.1 on Github the widget works fine as well. So version 5.1.2 broke the widget somehow. I hope that helps narrow down what might have caused this.

Additionally: I updated Simple Calculator on my Lineage based Android 7.1.2 ROM (a Samsung Galaxy S5 with hack unlocked bootloader.) The latest Simple Calculator (5.1.3, from F-Droid) widget works just fine on my Android 7.1.2 phone. So I think this might be a combination of a bug introduced in the 5.1.2 calculator release that only seems to be an issue on Android 9 (and probably 10.) Unfortunately I have no other devices to test with, so that's as much info as I can gather for now.

This is best described with pictures (screenshots.)

When I first boot my phone (3 different Android 9 based OnePlus 6 phones) the calculator widget that I placed out on the screen just shows the black letters as seen (you can also see when I click the buttons, but no numbers show up.):

Screenshot_20200423-124314

When I press and hold on the widget (such that the resize/remove options pop up) then the colors come back and the numbers I typed show up:

Screenshot_20200423-124409

I hit divide, 2 and equals keys (to divide by 2) nothing happens until I click and hold on the widget in the same manner. Only then does the calculator widget show the numbers and operations that I typed in it.

Screenshot_20200423-124423

The calculator app works just fine, but I miss the convenience of having the widget on my phone. Unfortunately I don't know why it does this and I have no idea how to fix it. I just wanted to make you aware (if you weren't already.) I appreciate your apps and how much work you put into them. I don't expect you to fix this or anything; I just wanted to let you know is all.

Thanks.

Edit: I just noticed that on my Android 7.1.2 phone I have Simple Calculator 5.1.0 (where I had 5.1.3 on all my Android 9 phones.) I downgraded my Lineage based (Android 9) Syberia OS OnePlus 6 phone to Simple Calculator 5.1.0 and now the widget is working just fine. So something broke the widget between 5.1.0 and 5.1.3... I'm not sure which release broke it, but I'll do some testing and find out.

Edit: Simple Calculator version 5.1.2 broke the widget (F-Droid builds) while 5.1.0 works perfectly. I'm changing my title to reflect the calculator version issue instead of Android 9 being the problem.

Suggestion: Show ongoing operation on screen.

It's simple but I think is weird the app doesn't show whatever operation I'm doing. For example, I want to calculate 20 + 5, the app doesn't show when I hit the "+". It will only show 20, then register my operation silently, then the 5. This is odd, and I think it can be easy solved with just displaying the current operation on screen. Thanks.

[Bug] Using operator before input sets first input to zero

If you use any operator (+,-,mod,^,...) before you input a digest you set the input to zero.
An example
The squareroot of 9 is 3. To get to this stunning conclusion you would normally press

9

And as a result get 3.
If you press


9

You get √0
You can do this with every operator

%
9

The operation "%" gives a wrong result

Describe the bug

The operation "%" gives a wrong result

Context

Device: Nexus 5
OS Version: Android 9.0.0
App version: 1.0.06

How to reproduce

1.Lauch Simple-Calculator
2.Press button 2
3.Press button %
4.Press button 2
5.Press button =

Actual behavior

The result is 0.0008.
The formula is 2%2%

Expected behavior

The result should be 0.04.
The formula should be like 2%*2 or sth else.

Confusing behaviour after calculating a square root

  1. Input e.g. 9
  2. Press square root button
  3. Result pops up
  4. Input any digit
  5. Press square root button
  6. Square root of 3 displayed

I'm unsure whether this is a bug, but such behaviour may seem strange for some users.

correct characters on buttons

To display the butttons, you use ASCII hyphen "-" for minus and ASCII asterisk "*" for times.

Much better would be the Unicode minus operator "−" and times "×", respectively.

I think this would amount to a change in two characters to the file activity_main.xml.

Adding feature to the app

I have several features that I wish to add to this app, which is

  1. To be able to see history
  2. To add more equation function, such as Sin() Cos() Tan()
  3. To be able to put the current equation on hold for later use
  4. To be able to export history into a .txt file for sharing with others.

That's all the features I wish to add, Thank you.

0^0 returns 0

Should be invalid expression, contrary to what Google's, Microsoft's and 95% other calculators say.

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.