RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Status | ||||||
---|---|---|---|---|---|---|
|
Table of Contents |
---|
...
The app boots up with new 'splash' screen, which has eye catchy background along with new RDK logo comes with animation on screen load time from left-top corner and sets into the centre of center of the screen.
Press ‘S’ key to switch to 'Choose a Service' screen, otherwise after 5 sec automatically 'Pair Bluetooth device' screen will be loaded
This new app has redesigned ‘Choose a Service’ screen with new background, shadow and animation effects, on navigation key right/left focused operator logo pops up (zoom-in) and background color changes/switches on selection of different operator logo with shadow and animation effect.
...
Remote pairing screen comes with new background image, You will be prompted to the below screen if the Bluetooth remote is not connected to the device
On voice input through remote wave will be displayed on the screen and mic icon will be focused as per below shown in the image
On pressing Mic key from remote , Mic icon will be highlighted and voice bar will be displayed (animated wave) instead of search text.
Use key up from home ui to navigate to mic
Use right key to navigate to search
This new app has redesigned ‘Home UI’ screen with new background, shadow and animation effects, it contains sections for Apps, Metro Apps, TV shows, and Voice and Settings icons displayed on top section. YouTube and the metrological apps can be launched from app listings. Video content can be played from the TV Shows section. Bluetooth and WIFI settings can be managed from the settings screen. Search bar and time display are also available in the home UI. Functionality implementation for the search bar and mic are in progress.
Introduced New features
Note: The user should set the timezone in Note: The user should set the timezone in you STB before loading the UI using the curl command
...
If the timezone is not properly set in the box then the UI by default shows Eastern Standard Time.
Key Navigation:
...
This new app has redesigned ‘Settings' screen with new background, shadow and animation effects.
Bluetooth, WiFi, and USB tab displayed as list on the left side panel and on selection corresponding content displayed on right side panel.
Toggle button will be displayed in WiFi and Bluetooth screen to enable and disable WiFi/Bluetooth.
On selection of USB: Video, Audio, Photo folders will be displayed and on selection it will navigate to corresponding views.
Use the Enter/Right/left/up/down keys to move the focus or navigate to back screen, WiFi, USB folders, enable/disable WiFi and Bluetooth
Functionality implementation for the USB access are in progress.
1) On selection of USB tab , an enable/disable button will be shown
2) Enable/disable button added to control retrieve of USB data once USB connected to Box.
3) Enable only if USB/HDD connected to box.
4) USB data are aggregated into three Types:
a)Audio file(.mp3)
b)Video file(.mp4)
c)Images (.JPG and .PNG)
5) For each type item custom folders are shown in setting screen when we enable USB.
6) Separate screen are shown for each type of data.
7) Data are listed horizontally along with there name.
8) Preview is shown for focused item.
9) Custom image are used to show Audio/Video item default preview.
10) Actual image on USB are shown in preview.
11) On selecting Video items , Video will be played in Full Screen.
12) Audio playback is not yet implemented.
13) For each screen Video/Audio/Images , there are headers showing back button and IP.
14) On Navigating Back button and enter , will land in setting screen and Focus is on USB folders.
→All mp4 files are listed in row and focused Item preview shown.
→ On pressing Enter video will play in Full screen.
→ On pressing key 'M' will exit from FSV.
→All mp3 files are listed in row and focused Item preview shown.
→All JPG, PNG files are listed in row and focused Item preview shown.
→ On Navigating to header and pressing back icon , setting screen will launched.
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.
Launching controller UI
BOXIP:9998
Enable UsbAccess Plugin .
User can also interact with 'UsbAccess' plugins using JSON-RPC
1) Create Link:
Method:
curl -d '{"jsonrpc":"2.0","id":"3","method":"org.rdk.UsbAccess.1.createLink","params":{}}' http://127.0.0.1:9998/jsonrpc
Response:
{"jsonrpc":"2.0","id":3,"result":{"baseURL":"http://localhost:50050/usbdrive","success":true}}
2) Clear Link:
Method:
curl -d '{"jsonrpc":"2.0","id":"3","method":"org.rdk.UsbAccess.1.clearLink","params":{}}' http://127.0.0.1:9998/jsonrpc
Response:
{"jsonrpc":"2.0","id":3,"result":{"success":true}}
3) Get File list:
Method:
curl -d '{"jsonrpc":"2.0","id":"3","method":"org.rdk.UsbAccess.1.getFileList","params":{"path":"www"}}' http://127.0.0.1:9998/jsonrpcCalling Methods:
Response:
...
...
Key
...
Functionality
...
Key
...
Functionality
...
To select the UI from the UI Switch screen
To launch apps from the app list
To launch player from tv-shows
To launch the Bluetooth screen from the settings list
To launch the WiFi screen from the settings list
To enable/disable Bluetooth scanning in Bluetooth screen
To enable/disable wifi scanning in wifi screen
To pause player from Player controls
To connect/disconnect/pair/unpair a Bluetooth device from the Bluetooth screen
To connect/disconnect a WiFi network inWiFi screen
...
To navigate within Home UI
To navigate through available Bluetooth devices on the Bluetooth screen
To navigate through available wifi networks in WiFi screen
...
To exit from apps
To exit from player launched
To exit from the Bluetooth screen
To exit from the WiFi screen
...
Video contents can be played from the TV Shows section.
Key Navigation:
On "Power" key press from remote or key "F1" from keyboard shutdown dialogue box will appear with option light sleep and deep sleep.
Key Navigation:
This new app has redesigned ‘Settings' screen with new background, shadow and animation effects.
Bluetooth, WiFi, and USB tab displayed as list on the left side panel and on selection corresponding content displayed on right side panel.
Toggle button will be displayed in WiFi and Bluetooth screen to enable and disable WiFi/Bluetooth.
On selection of USB: Video, Audio, Photo folders will be displayed and on selection it will navigate to corresponding views.
Key Navigation:
The Bluetooth screen supports discovery, pairing, and connecting to Bluetooth devices.
Key Navigation:
The WIFI screen supports the ability to manage STB's wifi connection.
Key Navigation:
Steps to enable USB on box
Note:
All mp4 files are listed in a row and focused Item preview shown
Key Navigation:
All mp3 files are listed in row and focused Item preview shown.
Key Navigation:
Note: audio playback functionality not implemented yet.
All JPG, PNG files are listed in row and focused Item preview shown
Key Navigation:
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.
User can also interact with 'UsbAccess' plugins using JSON-RPC
1) Create Link:
2) Clear Link:
3) Get File list:
Key | Functionality |
---|---|
S key | To display UI Switch screen from the splash screen |
Enter/Right/left/up/down keys | To move the focus to app list/metro apps/tv-shows/settings from Home UI screen To navigate to USB folders on settings screen To navigate to Bluetooth tab on settings screen To navigate to wifi tab on settings screen |
Enter key | To select the UI from the UI Switch screen To launch apps from the app list To launch player from tv-shows To launch the settings screen from the home ui screen To enable/disable Bluetooth scanning in settings screen To enable/disable wifi scanning in settings screen To pause player from Player controls To connect/disconnect/pair/unpair a Bluetooth device from the settings screen To connect/disconnect a WiFi network in settings screen |
Left/Right/Up/Down arrow | To navigate within Home UI To navigate through available Bluetooth devices on the settings screen To navigate through available wifi networks in settings screen To navigate to USB contents |
M/Home/1 key | To exit from launched apps (ex: cobalt, cnn, vimeo) To exit from player launched |
Esc/M key | To exit from password panel on WiFi screen |
Down arrow | To display player controls menu from Player screen |
key Code : 27 , 77, 49 , 36 ,158 | To display Home Page |
key Code : 112,142 | To STANDBY and POWER_ON |
key Code : 228 , 116 | To deep sleep |
key Code : 175 174 | To audio increase and decrease |
key Code : 112,142, 116, F1 | To launch shutdown panel |
Prerequisites: Node.js , npm, Lightning-CLI should be available in PC
Step 1: Clone the RDKAPPS repo using the below command:
$ git clone "https://code.rdkcentral.com/r/components/opensource/RDK_apps"
Step 2: Switch to version 2 branch (new ui)
$ git checkout version_2
Step 3: Goto Accelerator Home Ui directory
$ cd RDK_apps/accelerator-home-ui/
Step 4: Install npm dependencies
$ npm install
Step 5: Run below command to generate dist folder
$ lng dist
Step 6: Generated dist folder will have directory structure > dist/es6/<compiled files>
Step 7: Copy <compiled files> into dist and remove es6 dir
Now dist folder is ready for the deployment.
Download compiled code (dist): https://drive.google.com/drive/folders/1-44Zy3tav4SIEY7vF0fm1newcE3hBUg4?usp=sharing
Below per-build morty and dunfell image is available for RPI device created from sd card after flashing dist (compiled version of src code) just to avoid above steps: create distribution build, download pre-build and flash, it has latest version_2 ui changes and on bootup new ui will be rendered on TV screen.
pre-build dunfell image: https://drive.google.com/file/d/1WCuzFKwENFwq_bEERuHXxDUFyO6AuX7q/view?usp=sharing
pre-build morty image: https://drive.google.com/file/d/1hxbTN-36rgLTposhTqANZs4fcv8jAQ2A/view?usp=sharing
Option 1:
$ sudo dd if=<downloaded image path> of=/dev/sdb bs=1M
ex: sudo dd if=rdk-mc-rpi.img of=/dev/sdb bs=1M
Option 2:
Note: Balena etcher is available for MAC OS, Windows and Linux.
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
Download compiled code (dist): https://drive.google.com/drive/folders/1-44Zy3tav4SIEY7vF0fm1newcE3hBUg4?usp=sharing
...
...
...
...