Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1836

why after install/uninstall application can not terminate other application

XMLWordPrintable

      I am trying to make a qt application liked app store, in this application I can install/uninstall/launch/terminate application.When I operated this application as below sequence, it can't terminate application at step2.

      1. install/uninstall a application A
      2. terminate another application B
      3. uninstall application B

      My code

      #include "afm_user_daemon_proxy.h"
      
      QScopedPointer<org::AGL::afm::user, Cleanup> afm_user_daemon_proxy(
      new org::AGL::afm::user("org.AGL.afm.user", "/org/AGL/afm/user",
      QDBusConnection::sessionBus(), 0));
      ::afm_user_daemon_proxy = afm_user_daemon_proxy.data();
      QString result = afm_user_daemon_proxy->uninstall(id);
      ...
      QString result = afm_user_daemon_proxy->terminate(id);
      

      config.xml

      <feature name="urn:AGL:widget:required-permission">
          <param name="urn:AGL:permission::public:no-htdocs" value="required" />
          <param name="http://tizen.org/privilege/internal/dbus" value="required" />
      </feature>
      
      

      Is there existing fault in my code? how can I using terminate and install/uninstall at the same time?

      Additional remarks:

      • After step1,if I transfer screen to launcher, then back to app store application, I can terminate application B.
      • you can reappear this issue by afb-client-demo
        afb-client-demo --human 'ws://localhost:1042/api?token=HELLO'
        afm-main uninstall dashboard@0.1
        afm-main terminate hvac@0.1

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            wangzhiqiang zhiqiang wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: