The project provides a template for Aurora OS applications.
# Audio Call Use Cases
The main purpose is to clearly demonstrate almost minimal source code to get a correct and extensible application.
## Application Description
## Terms of Use and Participation
This example expands on the Call API demonstration. The code shows how to:
* synchronize audio device control,
* use a public D-Bus wrapper (libcallservice),
* manage a call,
* reverse a URL,
* configure audio input/output.
The source code of the project is provided under [the license](LICENSE.BSD-3-CLAUSE.md),
that allows it to be used in third-party applications.
The [contributor agreement](CONTRIBUTING.md) documents the rights granted by contributors
to the Open Mobile Platform.
For information about contributors see [AUTHORS](AUTHORS.md).
[Code of conduct](CODE_OF_CONDUCT.md) is a current set of rules of the Open Mobile
Platform which informs you how we expect the members of the community will interact
while contributing and communicating.
## Project Structure
The project has a common structure
of an application based on C++ and QML for Aurora OS.
***[ru.auroraos.ApplicationTemplate.pro](ru.auroraos.ApplicationTemplate.pro)** file describes the project structure for the qmake build system.
***[icons](icons)** directory contains application icons for different screen resolutions.
***[qml](qml)** directory contains the QML source code and the UI resources.
***[cover](qml/cover)** directory contains the application cover implementations.
***[icons](qml/icons)** directory contains the custom UI icons.
***[pages](qml/pages)** directory contains the application pages.
***[ApplicationTemplate.qml](qml/ApplicationTemplate.qml)** file provides the application window implementation.
***[rpm](rpm)** directory contains the rpm-package build settings.
**[ru.auroraos.ApplicationTemplate.spec](rpm/ru.auroraos.ApplicationTemplate.spec)** file is used by rpmbuild tool.
***[src](src)** directory contains the C++ source code.
***[main.cpp](src/main.cpp)** file is the application entry point.
***[translations](translations)** directory contains the UI translation files.
***[ru.auroraos.ApplicationTemplate.desktop](ru.auroraos.ApplicationTemplate.desktop)** file defines the display and parameters for launching the application.
## Contents
-[Compatibility](#compatibility)
-[Build Features](#Build-Features)
-[Branch Information](#Branch-Information)
-[Installation and Launch](#Installation-and-Launch)
-[Screenshots](#screenshots)
-[Project Structure](#project-structure)
-[Usage Rules and Participation in Development](#Usage-Rules-and-Participation-in-Development)
<aname="compatibility"></a>
## Compatibility
The project is compatible with the current version of Aurora OS.
The project is compatible with all the supported versions of the Aurora OS.
<aname="Build-Features"></a>
## Build Features
The project is built in the usual way using the Aurora SDK.
## Project Building
<aname="branch-information"></a>
## Branch information
The application versions comply with the [branch name](https://developer.auroraos.ru/doc/software_development/examples#branches) convention
The project is built in the usual way using the Aurora SDK.
<aname="Installation-and-launch"></a>
## Installation and launch
The application is installed and launched according to the [Example build](https://developer.auroraos.ru/doc/sdk/app_development/work/create/examples#build) instructions.
## Screenshots
The application must have `Call` permissions to work. These permissions are set in the .desktop file.
<aname="screenshots"></a>
## Screenshots

## This document in Russian / Перевод этого документа на русский язык
-[README.ru.md](README.ru.md)
<aname="project-structure"></a>
## Project structure
The project has a standard structure of an application based on C++ and QML for Aurora OS.
* The **[ru.auroraos.AudioCallUseCases.pro](ru.auroraos.AudioCallUseCases.pro)** file describes the application structure for the QMake build system.
* The **[icons](icons)** directory contains application icons for different screen resolutions.
* The **[qml](qml)** directory contains QML source code and user interface resources.
* The **[cover](qml/cover)** directory contains application shell implementations.
* The **[icons](qml/icons)** directory contains additional user interface icons.
* The **[pages](qml/pages)** directory contains the application pages.
* The **[AudioCallExample.qml](qml/AudioCallExample.qml)** file implements the application window.
* The **[rpm](rpm)** directory contains the rpm package build settings.
The **[ru.auroraos.AudioCallUseCases.spec](rpm/ru.auroraos.AudioCallUseCases.spec)** file is used by the rpmbuild tool.
* The **[src](src)** directory contains the C++ source code.
* The **[main.cpp](src/main.cpp)** file is the application entry point.
* The **[translations](translations)** directory contains the user interface translation files.
* The **[config](config)** directory contains an xml file with the application settings.
* The **[ru.auroraos.AudioCallUseCases.desktop](ru.auroraos.AudioCallUseCases.desktop)** file defines the display and launch parameters of the application.
Данный пример, расширающий демонстрацию работы с Call API. В коде показано, как:
- синхронизировать управление аудиоустройствам
- использовать публичную обертку над D-Bus (libcallservice)
- как управлять вызовом
- обрататывать url
- настраивать ввод-вывод звука
## Содержание
-[Совместимость](#совместимость)
-[Особенности сборки](#Особенности-сборки)
-[Информация о ветках](#информация-о-ветках)
-[Установка и запуск](#Установка-и-запуск)
-[Скриншоты](#скриншоты)
-[Структура проекта](#структура-проекта)
-[Правила использования и участие в разработке](#правила-использования-и-участие-в-разработке)
<aname="совместимость"></a>
## Совместимость
Проект совместим с текущей версией ОС Аврора.
<aname="Особенности-сборки"></a>
## Особенности сборки
Проект собирается обычным образом с помощью Аврора SDK.
<aname="информация-о-ветках"></a>
## Информация о ветках
Версии приложения соответствуют соглашению об [наименовании веток](https://developer.auroraos.ru/doc/software_development/examples#branches)
<aname="Установка-и-запуск"></a>
## Установка и запуск
Установка и запуск приложения производятся согласно инструкции [Сборка примера](https://developer.auroraos.ru/doc/sdk/app_development/work/create/examples#build).
Приложению для работы необходимо иметь разрешения на `Call`. Эти разрешения задаются в .desktop файле.
<aname="скриншоты"></a>
## Скриншоты

<aname="структура-проекта"></a>
## Структура проекта
Проект имеет стандартную структуру приложения на базе C++ и QML для ОС Аврора.
* Файл **[ru.auroraos.AudioCallUseCases.pro](ru.auroraos.AudioCallUseCases.pro)** описывает структуру приложения для системы сборки QMake.
* Каталог **[icons](icons)** содержит значки приложений для разных разрешений экрана.
* Каталог **[qml](qml)** содержит исходный код QML и ресурсы пользовательского интерфейса.
* Каталог **[cover](qml/cover)** содержит реализации оболочек приложений.
* Каталог **[icons](qml/icons)** содержит дополнительные иконки интерфейса пользователя.
* Каталог **[pages](qml/pages)** содержит страницы приложения.
* Файл **[AudioCallExample.qml](qml/AudioCallExample.qml)** обеспечивает реализацию окна приложения.
* Каталог **[rpm](rpm)** содержит настройки сборки rpm-пакета.
Файл **[ru.auroraos.AudioCallUseCases.spec](rpm/ru.auroraos.AudioCallUseCases.spec)** используется инструментом rpmbuild.
* Каталог **[src](app/src)** содержит исходный код C++.
* Файл **[main.cpp](src/main.cpp)** является точкой входа приложения.
* Каталог **[translations](translations)** содержит файлы перевода пользовательского интерфейса.
* Каталог **[config](config)** содержит xml файл с настройками приложения.
* Файл **[ru.auroraos.AudioCallUseCases.desktop](ru.auroraos.AudioCallUseCases.desktop)** определяет отображение и параметры запуска приложения.