• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# applications_call
2
3## 1 Introduction
4
5​ Based on the capabilities of the system platform, design and develop call applications, providing voice calls, video calls, call settings, mobile network settings, SIM card management settings, emergency dialing, and functions for adding personal emergency information. Build models from different perspectives and design the architecture of the call application to ensure security, resilience, reliability, privacy, etc. while satisfying basic functions.
6
7### 1.2 Introduction to Architecture Diagram:
8
9![img](./figures/callui_en.png)
10
11The application adopts a multi-module design as a whole, which is used to handle the business logic and data management of the call application and the interface display. Each module follows the division principle of the above architecture.
12The functions of each module are as follows:
13
14* FA-UI: Interface display responsible for handling and user interaction
15* Public Module: responsible for the processing of public methods, assisting in the display of the connected interface, the interaction of business logic and data management
16* Adapter Module: responsible for business logic and data management
17
18The important classes and their functions in each layer of the application are shown in the following table
19
20| Module | Function | Class Name | Function |
21| ---- | ---- | ---- | ---- |
22| FA-UI | Interface Display | Voice Calls FA | Mainly provides user interface related to voice calls |
23| FA-UI | Interface Display | video Calls FA | Mainly provide video call related user interface |
24| FA-UI | Interface display | SIMCard Management FA | SIM card related user interaction management interface |
25| FA-UI | Interface Display | Emergency Dialing FA | Emergency Dialing User Interface |
26| FA-UI | Interface display | Call Settings FA | User interaction interface related to call settings |
27| FA-UI | Interface Display | Personal Emergency Information FA | Personal Emergency Number User Interface |
28| FA-UI | Interface Display | Mobile NetWork Settings FA | Mobile NetWork Settings User Interface |
29| Public Module | Common Components and Methods | Common Components | Processing Classes for Public Components |
30| Adapter Module | Business Processing Interface | Dial Module | Handling Dial-related Functions |
31| Adapter Module | Business Processing Interface | Status Monitoring Module | Monitor Business Status Module |
32
33## 2. Directories
34```
35/applications_call
36├── callui
37│   └── src
38│       └── main
39│           ├── ets
40│               ├── default
41│                   ├── assets
42│                   ├── common
43│                       ├── components
44│                       ├── configs
45│                       ├── constant
46│                       ├── utils
47│                   ├── model
48│                   ├── pages
49|                   ├── app.ets
50│               ├── ServiceAbility
51│                   ├── callManagerService.ets
52│                   ├── service.ts
53│                   ├── telephonyApi.ets
54│           ├── resources
55|               ├── base
56|               ├── zh_CN
57│           ├── config.json
58├── doc
59|   ├── image
60|   ├── Instructions.md
61├── mobiledatasettings
62│   └── src
63│       └── main
64│           ├── ets
65│               ├── default
66│                   ├── pages
67│           ├── resources
68|               ├── base
69|               ├── zh_CN
70│           ├── config.json
71├── figures
72│   └── callui_en.png
73├── signature
74│   └── com.ohos.callui.p7b
75├── LICENSE
76├── build.gradle
77```
78
79## 3. Instructions for use
80
81* See instructions for use ([Instructions for use](doc/Instructions.md))
82
83## 4. Related positions
84
85* system applications
86
87[**applications_call**](https://gitee.com/openharmony/applications_call)
88