In this article, I am going to explain how to create a countdown view in Roku using SceneGraph. You can visit the official website of Roku to get more knowledge of its components.
1. Prerequisite
This example needs basic knowledge of BrightScript and SceneGraph component.
2. Creating a New Project
1 – Create a new project in Eclipse from File ⇒ New BrightScript and Enter project name then Next ⇒ Finish

3. Edit MainScene from components folder
1- init() – Initialise all are you XML node here .

2 – Start timer

3- Add Observed to watch you timer

4- Utility function
Add two digit in given time for the countdown

Check Second

5- XML component

Run and test the app once. Make sure device is having internet connection as internet required to deploy your application on Roku device.
Result :

Check result on youtube link given below:
