Directories available to an application
The project provides an example of interaction with the API of directories available to the application.
By default, each application has read and write access only to those directories that correspond to it, and also to the common directory of all applications of the same organization. The project shows how to interaction with those directories. There are static paths, which are only writable during deployment, and dynamic paths, which are always available to the application.
Build 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.ApplicationDirectories.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.
- icons directory contains the additional custom UI icons.
- pages directory contains the application pages.
- ApplicationDirectories.qml file provides the application window implementation.
-
rpm directory contains the rpm-package build settings.
- ru.auroraos.ApplicationDirectories.spec file is used by rpmbuild tool.
-
src directory contains the C++ source code.
- main.cpp file is the application entry point.
- translations directory contains the UI translation files.
- ru.auroraos.ApplicationDirectories.desktop file defines the display and parameters for launching the application.
- config file is an additional file to deployment to device and to show interaction with a static path.
Compatibility
- example: the main branch corresponding to the OS version higher than 4.0.2.173.
Deploying the application
For the directories to be available to an application deployed with the IDE, the application must be running in a sandbox. Check Project->Run->Use sandbox to achieve this.