2 Replies Latest reply: Jun 1, 2009 2:24 AM by 843851 RSS

    AIT Files for various Xlets

    843851
      Hello,
      I developed an application launcher, and now, I need upload to STB various xlets. I've been using the library xlet_stb_devel for upload the xlets via RS-232, this library, copy in the STB the classes files and upload the AIT file to /xlets. The STB load the AIT from xlets, but in this form, I only can load one application and I need upload two or more, How can I upload many AIT files and make the STB read it?
      My STB is a Strong 5510

      Thank's in advance for your help.
        • 1. Re: AIT Files for various Xlets
          843851
          maybe i can help you.
          you should put all the files of all the xlets in the same directory tree (let's hope they have not clashing filenames..)
          then put in the xlet description ait file all the xlet.ait descriptions one after the other (providing different AID identifiers to them, of course).
          this should do the trick..
          let me know if it goes ok.

          bye
          • 2. Re: AIT Files for various Xlets
            843851
            Thank you for your response.

            I put in the ait file all the apps descriptions and changin the AID, worked perfectly.

            I post the code, maybe will be helpful for someone.
            #The beggining of xlet description
            #app <Application ID> <Organisation ID> - MANDATORY
            app        0x14 0x29
            
            #Name of application preceded by language code
            name eng "Application 1"
            
            #Application control flag: 1=autostart 2=present 3=destroy 4=kill    MANDATORY
            control    2
            
            #service bound flag (0 or 1)    MANDATORY
            bound      0
            
            #other flags
            priority   137
            visibility 3
            
            #Basedir of application (must be relative to /home directory)   MANDATORY
            basedir    "/home"
            
            #Classpath extension
            classpath  ""
            
            #Initial class name (fully qualified name)  MANDATORY
            class      "package1.app1"
            
            ###############################################################################################################
            ###############################################################################################################
            
            #The beggining of xlet description
            #app <Application ID> <Organisation ID> - MANDATORY
            app        0x13 0x29
            
            #Name of application preceded by language code
            name eng "Second bla bla bla"
            
            #Application control flag: 1=autostart 2=present 3=destroy 4=kill    MANDATORY
            control    2
            
            #service bound flag (0 or 1)    MANDATORY
            bound      0
            
            #other flags
            priority   137
            visibility 3
            
            #Basedir of application (must be relative to /home directory)   MANDATORY
            basedir    "/home"
            
            #Classpath extension
            classpath  ""
            
            
            #Initial class name (fully qualified name)  MANDATORY
            class      "Application.start"
            
            ###############################################################################################################
            ###############################################################################################################
            
            #The beggining of xlet description
            #app <Application ID> <Organisation ID> - MANDATORY
            app        0x15 0x29
            
            #Name of application preceded by language code
            name eng "Mi propia lanzadera"
            
            #Application control flag: 1=autostart 2=present 3=destroy 4=kill    MANDATORY
            control    1
            
            #service bound flag (0 or 1)    MANDATORY
            bound      0
            
            #other flags
            priority   137
            visibility 3
            
            #Basedir of application (must be relative to /home directory)   MANDATORY
            basedir    "/home"
            
            #Classpath extension
            classpath  ""
            
            #Initial class name (fully qualified name)  MANDATORY
            class      "base.Start"