Intent Demo

Intent Demo

The application demonstrates the operation of intentions in Aurora 5

Intent Demo

The application demonstrates the operation of intents. OpenURI and Start are available by default. The OpenURI intent allows you to open a specified resource, such as a link. URI documentation is described in RFC 3986. You can also use this intent to share files. The Start intent can only open applications of the same organization as specified in QGuiApplication::setOrganizationName and the OrganizationName field in the desktop file. It also shows the work of custom intents such as reversing a line and building a search query. Intents have been working in Aurora since the fifth version.

Build status:

  1. example - pipeline status
  2. dev - pipeline status

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.IntentDemo.pro file describes the project structure for the qmake build system.
  • icons directory contains application icons for different screen resolutions.
  • qml directory contains the QML source code and the UI resources.
    • components directory contains the custom QML components.
    • cover directory contains the application cover implementations.
    • icons directory contains the additional custom UI icons.
    • pages directory contains the application pages.
    • style directory contains additional colors and sizes for UI element.
    • IntentDemo.qml file provides the application window implementation.
  • rpm directory contains the rpm-package build settings.
  • src directory contains the C++ source code.
    • intent directory contains implementations of intents.
    • invoker directory contains a manager for calling intents.
    • model directory contains models.
    • utils directory contains extra functions.
    • main.cpp file is the application entry point.
  • translations directory contains the UI translation files.
  • ru.auroraos.IntentDemo.desktop file defines the display and parameters for launching the application.

Compatibility

The project is compatible with all the supported versions of the Aurora OS.

Screenshots

screenshots

This document in Russian / Перевод этого документа на русский язык