Back to Home

Math package for Android - Micro-Math - now open source

math · application development · android · open source

Math package for Android - Micro-Math - now open source

    Some time ago, I wrote here about Micro-Math, a mathematical package for Android that I developed as a hobby craft. This summer marks three years since Micro-Math was uploaded to Google Play for all to see. Since then, the program has evolved further, and now the moment has come when the income from Google Play has paid back on development. In this regard, I see no reason to continue to conceal the source code from the public and transfer the project to the category of Open Source. Those who are interested in getting acquainted with the Micro-Mathematics repository on github , and, perhaps, participating in the further development of the project, I ask for cat.


    I will not repeat the contents of the previous article here - the ideology, core and basic functionality of the application have not changed since then. Naturally, in three years many new features have been added. I will single out the most important, in my opinion:


    • A functional file manager has been implemented, which supports not only an SD card, but also access to application resources. Based on the core of a fairly well-known file manager "Ghost Commander"

    File manager window


    • Application resources now contain a large library of examples.
      If those who use this application have interesting examples of calculations, and you do not mind sharing them with the public, send them to me by mail, I will be happy to include them in this library.

    Example Selection Window


    • Now the application can work with complex numbers:

    Complex calculation example


    • In addition, added support for arrays, the use of which can significantly speed up the calculation

    Example calculation using arrays


    • There was an export of the document in HTML format, after which it can be opened in a browser, for example, on a PC:

    Exported document on PC


    • Added the ability to automatically test the mathematical core. The tester module is built into the application, it allows you to run scripts that have special syntax and control the results of calculations. To date, 30 scripts have been developed that contain more than 250 tests covering all computational algorithms.

    The github repository is here . License - GNU General Public License v3.0.


    It so happened historically that all my development takes place under Linux, and, ashamed to say, is still in Eclipse. But I am open to alternative working environments, so if someone wants to pull the conversion of utility scripts for Windows, or project files for Android Studio - I will only be glad.


    At the moment, the repository contains both all the source code and SVG sources of all the application icons, as well as some auxiliary things:


    • app: source folder. There you can find: the sources themselves, the formatting template for Eclipse, as well as in the src / assets folder, documentation, a library of examples and automatic testing scripts.
    • images: SVG sources of icons and shell scripts for converting them to PNG resources. Scripts require installed Inkscape.
    • thirdParty: archives of all used libraries.
    • release: A compiled but not signed APK. There is also an archive with the results of automatic testing.
    • autotest: utility scripts for generating test virtual machines and for running tests on them.

    Recently, I have received many wishes for the further development of the application. Among them, I can distinguish such as:


    • Export to PDF.
    • Matrix calculations.
    • Loops, such as that implemented in Matcad.
    • Improving editing: drag and drop formulas with your finger, more convenient access to the mat palette. characters.
    • The introduction of a batch system for grouping mat. functionality: for example, optional signal processing packages, statistics, special functions.
    • I already use the “The Apache Commons Mathematics Library” library, where there is a symbol calculation module. It would be nice to use it.

    For one person, there is a lot of work, so I invite all enthusiasts who are interested in mathematics, algorithms, numerical methods, etc. to cooperate. Thanks for attention!

    Only registered users can participate in the survey. Please come in.

    How often do you join other people's Open Source projects?

    • 48.2% Never in my life 42
    • 35.6% Very rarely, and even then, if strongly asked 31
    • 11.4% Willingly participate in several projects 10
    • 4.5% So often that it has already lost count 4

    Read Next