Keep Alive

Keep Alive

KeepAlive

This document in Russian/Этот документ на русском языке

Оглавление

Application description

The application is an example of nemo qml plugin KeepAlive on OS Aurora. The application has a demonstration of all three qml types: DisplayBlanking, BackgroundJob and KeepAlive.

Features of use and build

The project is built through the CMakeLists.txt file

Installation and build

The project is built in the usual way using the Aurora SDK.

Screenshots

Main page

Use cases

DisplayBlanking

  • Pressing Start will stop the screen from going dark after a certain period of time. Stop will return to its original state.

Background Job

  • Enable / Disable button turns background job on or off
  • The second button in the mode Trigger on enable starts a background job and makes a call to the action inside immediately after Enable and then every 30 seconds. Wait for trigger makes a call only after 30 seconds have passed.

KeepAlive

  • Enable and disable keep alive.

Messages are output to the logger at the bottom of the screen

Example output:

[Datetime output] Message about job call, timer call or output of current time in seconds

Known bugs

There are no known bugs found in the project.

Compatibility

The application works correctly starting from version 5.0.0 of Aurora OS.

Project structure

The project has a standard structure of an application based on C++ and QML for Aurora OS.

  • CMakeLists.txt file describes the project structure for the CMake 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.
    • icons directory contains the additional custom UI icons.
    • pages directory contains the application pages.
    • KeepAlive.qml file provides the application window implementation.
  • rpm directory contains the rpm-package build settings.
  • src directory contains the C++ source code.
  • translations directory contains the UI translation files.
  • ru.auroraos.KeepAlive.desktop file defines the display and parameters for launching the application.

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.