254.1.1
by Girish Rawat
Improved and extended READMEs. |
1 |
ReadMe - Ubuntu Calculator App
|
2 |
===========================
|
|
3 |
Ubuntu Calculator App is the official calculator app for Ubuntu Touch. We follow an open |
|
4 |
source model where the code is available to anyone to branch and hack on. The |
|
5 |
ubuntu calculator app follows a test driven development (TDD) where tests are |
|
6 |
written in parallel to feature implementation to help spot regressions easier. |
|
7 |
||
8 |
Dependencies
|
|
9 |
============
|
|
10 |
**DEPENDENCIES ARE NEEDED TO BE INSTALLED TO BUILD AND RUN THE APP**.
|
|
11 |
||
12 |
A complete list of dependencies for the project can be found in ubuntu-calculator-app/debian/control |
|
13 |
||
14 |
The following essential packages are also required to develop this app: |
|
15 |
* [ubuntu-sdk](http://developer.ubuntu.com/start) |
|
16 |
* intltool - run `sudo apt-get install intltool
|
|
17 |
||
18 |
Calculation engine
|
|
19 |
==================
|
|
20 |
||
21 |
Current calculation engine is math.js version 1.1.0. |
|
22 |
You could download latest version from webpage: |
|
23 |
http://mathjs.org |
|
24 |
||
25 |
The engine was sligtly modified to properly work with Ubuntu-Calculator-App. |
|
26 |
||
27 |
Profiling calculator
|
|
28 |
====================
|
|
29 |
||
30 |
To successfuly run profiler on your device, you must modify ubuntu-calculator-app.apparmor file, |
|
31 |
and add "networking" policy group: |
|
32 |
||
33 |
"policy_groups": [ |
|
34 |
"networking" |
|
35 |
], |
|
36 |
||
37 |
The bug was already submitted at: |
|
38 |
https://bugs.launchpad.net/ubuntu-sdk-ide/+bug/1520551 |
|
39 |
||
40 |
Next you will need follow instruction: |
|
41 |
||
42 |
1. Connect your device to PC and make sure it is unlocked, and Developer Mode is enable
|
|
43 |
2. Run Ubuntu SDK IDE
|
|
44 |
3. Open Calculator project and generate Unix Makefiles for Arm.
|
|
45 |
4. Select Analyze > QML Profiler
|
|
46 |
5. Select the Start button to start Calculator from the QML Profiler.
|
|
47 |
6. After reproduce issue you must press Stop button.
|
|
48 |
||
49 |
More information about profiling is available at: |
|
50 |
http://doc.qt.io/qtcreator/creator-qml-performance-monitor.html |
|
51 |
||
52 |
Useful Links
|
|
53 |
============
|
|
54 |
Here are some useful links with regards to the Calculator App development. |
|
55 |
||
56 |
* [Home Page](https://developer.ubuntu.com/en/community/core-apps/calculator/) |
|
57 |
* [Calculator App Wiki](https://wiki.ubuntu.com/Touch/CoreApps/Calculator) |
|
58 |
* [Designs](https://developer.ubuntu.com/en/community/core-apps/calculator/#design) |
|
59 |
* [Project page](https://launchpad.net/ubuntu-calculator-app) |