Notification Demo
This project demonstrates example notifications:
- Pop-up notification that allows you to open an application instance.
- Pop-up notification with sound for calling another user. It is also possible to set a timer for a delayed notification call. By timer, you can raise a notification to accept a call; if the call is accepted, you will be asked to unlock the screen and the application will open. If the call is rejected, nothing will happen. Link to notification documentation: https://developer.auroraos.ru/doc/software_development/reference/notifications
Terms of Use and Participation
The source code of the project is provided under the license, which allows its use in third-party applications.
The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.
Information about the contributors is specified in the AUTHORS file.
Code of conduct 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 standard structure of an application based on C++ and QML for Aurora OS.
- ru.auroraos.NotificationDemo.pro file describes the project structure for the qmake build system.
- icons directory contains the application icons for different screen resolutions.
-
qml directory contains the QML source code and the UI resources.
- cover directory contains the application cover implementations.
- images directory contains the additional custom UI icons.
- pages directory contains the application pages.
- sounds directory contains the additional custom sounds.
- NotificationDemo.qml file provides the application window implementation.
-
rpm directory contains the rpm-package build settings.
- ru.auroraos.NotificationDemo.spec file is used by rpmbuild tool.
-
src directory contains the C++ source code.
- main.cpp file is the application entry point.
- notification_contoller.h contains an interface declaration for managing notifications.
- notification_contoller.cpp contains an interface definition for managing notifications.
- translations directory contains the UI translation files.
- ru.auroraos.NotificationDemo.desktop file defines the display and parameters for launching the application.
Compatibility
The supported OS version is Aurora 4.0.2.249.