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

improve homescreen-service step one

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • App Framework
    • None

      In SPEC-1645, I want to use appid between homescreen-service and applications. But there is a problem that application can not use “AFM_ID” to get appid itself. So we need think another solution how to imporve homescreen-service.

       

      In 

      SPEC-1685
      IMHO, AFM_ID or app name (or other various predefined value) should not use as indicator to identify receiver of event delivered in session between each app and homescreen service.

      My proposal:

      • HomeScreen Service should generate an indicator or use some unique value as it. Any value acceptable if it should be able to specify a properly receiver in all HomeScreen Service's clients and not be predefined.
      • LibHomeScreen::subscribe() should retrieve an indicator from reply of "subscribe" returned by HomeScreen service.
      • HomeScreenService send event 'TapShortcut' with properly indicator.
      • LibHomeScreen::on_event() check the indicator.

       

      Here is my thinking about it.

       homescreen-service will contains three parts. 

      1 Interface module: Provide interfaces for other application.

      2 applicationModel: Store applications information, for example, "application id", "communication indicator", "application status".

      3 applicationManager: Receive requests, and process these request and send event to other applications. Right now, just showApplication request.

       

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

            ruke47 Tadao Tanikawa
            zheng_wenlong Xin Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: