RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Tata Elxsi Accelerator UI Application can be customized based on the operator requirement using our CustomUI application (Customer Login Page ) .Only the applications and contents configured against a particular operator id will be available to that operator.
This document provides the following details:
The steps to login as a new operator to the CustomUI Application is listed here:
Follow the steps listed here to login as an existing Operator
Follow the steps below to login as a new operator
The steps to connect to the server is given below:
"SERVER_URL ": URL of the CustomUI ( http://121.244.192.84:9999/CustomUI/)
"OPERATOR_ID ": Username given while creating a new operator (for default user : operator_id : teuser)
"ASSET_URL ": URL of the server from which assets are to be loaded (http://121.224.192.84:9999/)
Note: The configuration is to be done against each operator and each operator is identified by a unique operator_id . This operator_id should be same as operator_id in /opt/www/build/static/server/Serverconfig.json in box.
e.g. For enabling YouTube in first position
click on customer_menu_app_list -> click on insert
->Add → menu_id : 6
→ app_id : 1
→ app_position :1
→customer_id : boxid (serial_number)
e.g. To delete Netflix premium app for a customer with customer_id: OEABAgME9i.
→ click on customer_menu_app_list .
→ Delete the entry corresponding to customer_id -> OEABAgME9i with app_id is 2.
e.g. For enabling CNN in first position.
click on customer_menu_app_list → click on insert
→Add→ menu_id : 7
→ app_id : 4
→ app_position :1
→ customer_id : boxid(serial_number)
e.g. To delete Radio line app for a customer with customer_id: OEABAgME9i.
→ click on customer_menu_app_list table.
→ Delete the entry corresponding to customer_id -> OEABAgME9i with app_id ->12.
eg. For enabling Tears of steel.
click on customer_recommended_list → click on insert
→ Add → recommended_content_id : 1
→ customer_id : boxid (serial_number)
Note: To add a new content to recommended_list table
e.g. For adding bluetooth icon to the infobar.
click on info_settings_content table-> click on insert
→ Add → menu_id : 32 (corresponding to Bluetooth InfoBar icon from menu_list table)
→ Image: 'images/info/bluetooth.png' (Add the local path of the icon in static folder )
e.g. For Deleting Wi-Fi icon from the InfoBar.
→ Click on the info_settings_content table
→ Delete the entry with path to the Wi-Fi icon
Note: If both bg_image and bg_color are configured in the table , preference is given to bg_image.
e.g. For Adding bg_color/bg_image , font face and font color for home screen .
click on customer_theme_design → click on insert
->Add → menu_id : 1
→ bg_image : images/settings/settings-bg.png
→ bg_color : 0xff211d30
→ FontFace : bold
→ text_fontColor: 0xff211d30
→ customer_id: boxid(serial_number)
Note: If both bg_image and bg_color are configured in the table, preference is given to bg_image .
e.g. For Adding bg_color/bg_image , font face and font color for home screen
click on customer_theme_design -> click on insert
-> Add → menu_id : 1
→ bg_image : images/settings/settings-bg.png
→ bg_color : 0xff211d30
→ FontFace : bold
→ text_fontColor : 0xff211d30
→ customer_id : boxid(serial_number)
Browser:
http://localhost:8080/CustomUI/getThemeConfig?customer_id=OEABAgME9i
Box:
curl http://<Server_ip>:<Server_port>/CustomUI/getThemeConfig?customer_id=OEABAgME9i
If you are not getting data in the box try: ping <Server_ip>
eg: root@mediabox:~# ping 192.168.18.3
PING 192.168.18.3 (192.168.18.3): 56 data bytes
64 bytes from 192.168.18.3: seq=0 ttl=128 time=35.467 ms
64 bytes from 192.168.18.3: seq=1 ttl=128 time=2.238 ms
64 bytes from 192.168.18.3: seq=2 ttl=128 time=2.214 ms
If Ping is success, try http://192.168.18.3:8080/CustomUI/getPosition?customer_id=O in the browser to get the corresopnding data.
["premium Apps","Recommended for you","metro Apps"]
Then try the curl for the same in the box:
~# curl http://192.168.18.3:8080/CustomUI/getPosition?customer_id=OEABAgME9i
response: ["premium Apps","Recommended for you","metro Apps"]
If you are getting the appropriate response for the curl, Then the client server connection is successful.
To get the corresponding customization changes in UI:
The corresponding changes will be reflected in the Accelerator UI.