16e7c69efSopenharmony_ci# Distributed Calculator
26e7c69efSopenharmony_ci
36e7c69efSopenharmony_ci### Introduction
46e7c69efSopenharmony_ci
56e7c69efSopenharmony_ciThis sample implements a simple calculator app using JS distributed features. The calculator can perform simple numerical calculations and start a remote calculator Feature Ability \(FA\) to perform collaborative calculation.
66e7c69efSopenharmony_ci
76e7c69efSopenharmony_ci-   Remote startup:  **StartAbility**  is used to start a remote app.
86e7c69efSopenharmony_ci-   Collaborative calculation: The  **DistributedDataKit**  distributed data framework is used to implement data synchronization between remote applications.
96e7c69efSopenharmony_ci
106e7c69efSopenharmony_ci### Usage
116e7c69efSopenharmony_ci
126e7c69efSopenharmony_ci-   Touch the icon on the desktop to start the calculator.
136e7c69efSopenharmony_ci-   Touch the button in the upper right corner of the app, or swipe up, down, left, or right on the screen to display the device selection box.
146e7c69efSopenharmony_ci-   In the device selection box, touch the name of a peer device to start the remote app.
156e7c69efSopenharmony_ci-   After the remote app is started, perform operations on the app at either end. Data can be synchronized between the two apps in real time.
166e7c69efSopenharmony_ci-   In the device selection box, touch the local device to close the remote app.
176e7c69efSopenharmony_ci
186e7c69efSopenharmony_ci### Constraints
196e7c69efSopenharmony_ci
206e7c69efSopenharmony_ci-   This calculator implements only simple addition, subtraction, multiplication, and division operations. You can implement more complex arithmetic operations on the  **calc**  page based on the current framework.
216e7c69efSopenharmony_ci-   Distributed computing can be implemented only with distributed networking.
226e7c69efSopenharmony_ci
23