| ARRIS Enterprises, Inc. Confidential Information |
Integrating Web AppsThis tutorial shows how to integrate with a third-party, web-based application using the generic secondary browser. Please have a look at the multiple application support documentation first, so you are familiar with the basic architecture. IntroductionThis tutorial covers a number of tasks:
Adding a secondary browser to the boot imageIf you have not already done so, build the One of the secondary applications distributed by ARRIS is a generic web browser. Add this browser to the boot image configuration as follows:
With this installed, a very simple multi-application implementation can be achieved just by calling the Building a secondary application IIPWe will create an IIP for each web application we want to integrate. There is no need to duplicate the browser executable in these new IIPs. Instead, each new IIP points to the generic browser executable file, and provides its own URL (and some additional parameters). The KreaTV platform will then run multiple instances of the secondary browser, each in its own LXC sandbox environment and running with the specified properties and arguments. This greatly simplifies the management of multiple applications from within the main portal. The SDK contains an example integration with the URL
.
├── data
│ └── usr
│ └── applications
│ └── webgldemo
│ └── properties_webgldemo.xml
├── iip_version
├── info.xml
└── install
└── buildtime
You can find more information about IIP structure in the Platform section of this manual. Here we are most interested in the
Full information about the properties file may be found here. This tutorial is only interested in three of the properties, Change directory to the example, and tar it into an IIP as follows: $ cd $sdk_root/examples/webgldemo [webgldemo ]$ tar zcfv ../../products/kreatv-app-webgldemo_%BSG_BUILD_VERSION_bcm15.iip * Then add |