Skip to content

gianluca-nitti/android-expr-eval

Repository files navigation

android-expr-eval

Android application to solve math expressions. Based on java-expr-eval.

New features

Now supports ACTION_PROCESS_TEXT intent on Android 6.0+, i.e. you can evaluate an expression from any application using ExprEval and replace it with the result. See this animation for an example:

ACTION_PROCESS_TEXT example

A custom intent is also available: you can use startActivityForResult() with com.github.gianlucanitti.expreval.ACTION_EVAL Intent to have an expression evaluated. You have to putExtra() the expression with "expression" as the extra name, and the result will be returned in an extra named "result".

This feature was proposed in issue #1.

Download/compile

See the releases page for prebuilt APK. To build from source, clone the repository, make sure you have the Android SDK installed (and you have the ANDROID_HOME environment variable correctly set), and run

./gradlew assembleRelease

(you may need to chmod +x gradlew it if it's not already executable).

Contributed translations

Screenshots (Imgur album)

Main activity Context dialog New variable dialog New function dialog