From: Marius Vlad Date: Wed, 22 Feb 2023 13:30:09 +0000 (+0200) Subject: 01_Application_Framework: 02_Application_Startup_Dbus: Refer to D-Bus activation X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F28525%2F1;p=AGL%2Fdocumentation.git 01_Application_Framework: 02_Application_Startup_Dbus: Refer to D-Bus activation Creating a new application is as well quite specific to D-bus activation so use a dedicated page for it, and modify the links that point to it. Bug-AGL: SPEC-4700 Signed-off-by: Marius Vlad Change-Id: I3fd7174ac573e1670231570ff6422156b53e5a06 --- diff --git a/docs/04_Developer_Guides/01_Application_Framework/02_Application_Startup_Dbus.md b/docs/04_Developer_Guides/01_Application_Framework/02_Application_Startup_Dbus.md index 523ffc9..927b52f 100644 --- a/docs/04_Developer_Guides/01_Application_Framework/02_Application_Startup_Dbus.md +++ b/docs/04_Developer_Guides/01_Application_Framework/02_Application_Startup_Dbus.md @@ -79,7 +79,7 @@ any valid string, it is highly recommended to use the "reverse DNS" convention i to avoid potential name collisions and ease D-Bus integration. The application ID is set in the desktop entry file itself for -[graphical applications](/04_Developer_Guides/03_Creating_a_New_Application/#graphical-applications): +[graphical applications](/04_Developer_Guides/03_Creating_a_New_Application_Dbus/#graphical-applications): it is the value of the `StartupWMClass` field, which must be identical to the `app-id` advertised through the Wayland XDG toplevel protocol. In case this field is missing (as is usually the case for non-graphical application), the application ID will be the diff --git a/docs/04_Developer_Guides/01_Application_Framework/04_Creating_a_New_Application.md b/docs/04_Developer_Guides/01_Application_Framework/04_Creating_a_New_Application_Dbus.md similarity index 94% rename from docs/04_Developer_Guides/01_Application_Framework/04_Creating_a_New_Application.md rename to docs/04_Developer_Guides/01_Application_Framework/04_Creating_a_New_Application_Dbus.md index 014069d..edee0dc 100644 --- a/docs/04_Developer_Guides/01_Application_Framework/04_Creating_a_New_Application.md +++ b/docs/04_Developer_Guides/01_Application_Framework/04_Creating_a_New_Application_Dbus.md @@ -1,14 +1,18 @@ --- -title: Creating a New Application +title: Creating a New Application with D-bus activation --- +*Note: The that the D-Bus interface is in deprecation phase and for the time +being only available for application & services that still rely on them. Once +we migrate everything to gRPC, we will remove D-Bus IPC support.* + Applications are: - Software designed to perform a specific task during a limited amount of time. - Graphical interface allowing user to interact with. Applications are executed by `applaunchd`, the AGL -[application launcher service](../01_Application_Framework/02_Application_Startup/). +[application launcher service](../01_Application_Framework/02_Application_Startup_Dbus/). # Basic requirements