Ubuntu Calculator App is the official calculator app for Ubuntu Touch. We follow an open source model where the code is available to anyone to branch and hack on. The ubuntu calculator app follows a test driven development (TDD) where tests are written in parallel to feature implementation to help spot regressions easier.
DEPENDENCIES ARE NEEDED TO BE INSTALLED TO BUILD AND RUN THE APP.
A complete list of dependencies for the project can be found in ubuntu-calculator-app/debian/control
The following essential packages are also required to develop this app:
- ubuntu-sdk
- intltool - run `sudo apt-get install intltool
Current calculation engine is math.js version 1.1.0. You could download latest version from webpage: http://mathjs.org
The engine was sligtly modified to properly work with Ubuntu-Calculator-App.
To successfuly run profiler on your device, you must modify ubuntu-calculator-app.apparmor file, and add "networking" policy group:
"policy_groups": [ "networking" ],
The bug was already submitted at: https://bugs.launchpad.net/ubuntu-sdk-ide/+bug/1520551
Next you will need follow instruction:
- Connect your device to PC and make sure it is unlocked, and Developer Mode is enable
- Run Ubuntu SDK IDE
- Open Calculator project and generate Unix Makefiles for Arm.
- Select Analyze > QML Profiler
- Select the Start button to start Calculator from the QML Profiler.
- After reproduce issue you must press Stop button.
More information about profiling is available at: http://doc.qt.io/qtcreator/creator-qml-performance-monitor.html
Here are some useful links with regards to the Calculator App development.