Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The first row in the main view of home UI contains app listings. YouTube, Metrological, Xumo,, and Bluetooth Audio app can be launched from app listings.'Premium Content 4' will not launch any apps.

...

Note: Right now it supports only Lightning apps as startup app.

Steps to build and launch Accelerator Home UI locally

  • Clone the RDKAPPS repo using the below command in git bash

git clone "https://code.rdkcentral.com/r/components/opensource/RDK_apps"

  • Move to accelerator-home-ui project

cd RDK_apps/accelerator-home-ui/

  • Install npm dependencies

npm install

  • Build your project

lng build

  • Copy the build folder created to /opt/www directory of your RPI/Accelerator device and Launch the app using ResidentApp plugin in RPI/Accelerator device via console

curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:9998/jsonrpc' -d ' {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.1.launch", "params":{"callsign": "ResidentApp", "type":"ResidentApp", "uri": "http://127.0.0.1:50050/build/index.html#splash"}} ' ; echo 

Note: You can also deploy your app locally in your PC and launch the app using ResidentApp plugin in RPI/Accelerator device .But your PC(where app is deployed) and the RPI/Accelerator device has to be under same network

  • Deploy app in PC

lng dev

  • Launch the app using ResidentApp plugin in RPI/Accelerator device via console (Replace the uri parameter in below command with the deployed URL of your app)

curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:9998/jsonrpc' -d ' {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.1.launch", "params":{"callsign": "ResidentApp", "type":"ResidentApp", "uri": "https://rdkwiki.com/rdk-apps/accelerator-home-ui/index.html#splash"}} ' ; echo 

Controller UI 

Users can interact with plugins using Controller UI. It helps the user to activate or deactivate the plugin and the user can go through each plugin and look for properties and methods to execute. 

...