Simple-Calculator/README.md

40 lines
2.2 KiB
Markdown
Raw Normal View History

2016-06-04 15:44:14 +02:00
# Simple Calculator
2020-03-22 15:17:00 +01:00
<img alt="Logo" src="fastlane/metadata/android/en-US/images/icon.png" width="120" />
2016-06-04 15:44:14 +02:00
2016-09-07 23:06:07 +02:00
A calculator with the basic functions and a customizable widget.
You can copy the result or formula to clipboard by long pressing it.
2016-06-04 15:44:14 +02:00
The text color of the 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.
2017-11-05 20:41:04 +01:00
Contains no ads or unnecessary permissions. It is fully opensource, provides customizable colors.
2016-11-01 19:35:40 +01:00
This app is just one piece of a bigger series of apps. You can find the rest of them at https://www.simplemobiletools.com
2016-08-31 20:40:20 +02:00
<a href='https://play.google.com/store/apps/details?id=com.simplemobiletools.calculator'><img src='https://simplemobiletools.com/assets/images/google-play.png' alt='Get it on Google Play' height=45/></a>
<a href='https://f-droid.org/packages/com.simplemobiletools.calculator'><img src='https://simplemobiletools.com/assets/images/f-droid.png' alt='Get it on F-Droid' height=45 ></a>
2016-06-18 10:36:35 +02:00
2018-01-16 20:12:36 +01:00
<div style="display:flex;">
2019-10-13 20:53:50 +02:00
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/app_1.jpg" width="30%">
2019-09-22 10:04:13 +02:00
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/app_2.jpg" width="30%">
<img alt="App image" src="fastlane/metadata/android/en-US/images/phoneScreenshots/app_3.jpg" width="30%">
2018-01-16 20:12:36 +01:00
</div>
2016-06-04 15:44:14 +02:00
<br>
2016-06-04 15:44:14 +02:00
It contains a couple UI and unit tests, they can be ran with the following instructions.
2015-12-29 14:09:45 +01:00
<h3>Running Espresso UI tests</h3>
2017-11-05 20:41:04 +01:00
<p>1. Run -> Edit Configurations</p>
<p>2. Create a new "Android Instrumentation Tests" configuration, give it a name (i.e. "MainActivityEspressoTest")</p>
<p>3. Choose the "app" module</p>
<p>4. OK</p>
<p>5. Make sure MainActivityEspressoTest is selected near the Run button</p>
<p>6. Run</p>
2015-12-29 14:09:45 +01:00
<h3>Running Robolectric tests</h3>
2017-11-05 20:41:04 +01:00
<p>1. At the Project tab right click the folder containing the tests (i.e. "calculator.simplemobiletools.com.simple_calculator (test)")</p>
<p>2. select Run 'Tests in 'calculator.simplemob...' to run all the tests</p>
<p>3. if you are on Linux or Mac, go to Run -> Edit Configurations, select the new JUnit configuration and change the "Working Directory" item to "$MODULE_DIR$" (without quotes)</p>
<p>4. OK</p>
<p>5. Run</p>