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

Start application and get runnables list by homescreen-service

XMLWordPrintable

      As title, I made some changes in homescreen-service, libhomescreen, launcher, homescreen, mainly purpose as below:

      1. In homescreen or launcher when starting application it only need call showWindow.
      2. When launcher starting, it get runnalbes list from homescreen-service, and after
        install/uninstall application launcher can get "app_list_change" event to update application list.
      3. Specially, I want to use "ws" interface instead "dbus" interface.

      About changes:

      • homescreen-service(please reference hs-class.png)
      1. start application in showWindow. Please reference start_application.png
      2. add "getRunnables" verb. Please reference runnables.png
      3. handle "application-list-changed" event from afm-main and add "application-list-changed" event. Please reference app_list_change.png
      • libhomescreen
      1. add getRunnables interface.
      2. add Event_AppListChanged event.
      • homescreen
      1. only call showWindow when start application
      • launcher
      1. only call showWindow when start application
      2. get runnalbes list from homescreen-service
      3. subscribe and deal with Event_AppListChanged

      sourcecode
      homescreen-service
      libhomescreen
      homescreen
      launcher

        1. app_list_change.png
          37 kB
        2. hs-class.png
          hs-class.png
          60 kB
        3. runnables.png
          runnables.png
          31 kB
        4. start_application.png
          33 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            wangzhiqiang zhiqiang wang
            wangzhiqiang zhiqiang wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: