Hi Presenly Iam adding roPosterScreen Items using a array... But I want this items to be added from a XML file and also when a menu item is selected we need get the corresponding sub menu item from XML....
screen = CreateObject("roPosterScreen") categoryList = getCategoryList() //Now this should be from a xml file.... screen.SetListNames(categoryList) screen.SetIconArray(getShowsForCategoryItem(categoryList))
//below two functions values should be from xml file.... Function getCategoryList() As Object
Please look at the videoplayer example code in the sdk. It is an example of parsing an xml feeds to display a hierarchy of data and filling in the content-metadata array that would be passed to an roPosterScreen. The docs also walk through XML parsing in the BrightScript Reference Section 4.5.