ionatan
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2012
08:03 AM
SetFocusedListItem dynamic
I want to use SetFocusedListItem to set the focus on a specific item, but I want to send the info about what category should be focused through xml feed.
Something like this:
So I want to set the focus to the category with focus set to 1 (or true). I think this can be done integrating some code in parsing feed to get the number of the channel that should be focused, but I don't know exactly how. Any suggestions?!
(I use Video Player Example Application)
Something like this:
<category focus='1' title="Category Name" description="Description" sd_img="http://example.com/_thumbs/01rokuSD.jpg" hd_img="http://example.com/_thumbs/01rokuHD.jpg" feed="http://www.example.com/api/roku/list.php?action=videos&channel_id=1" ></category>
So I want to set the focus to the category with focus set to 1 (or true). I think this can be done integrating some code in parsing feed to get the number of the channel that should be focused, but I don't know exactly how. Any suggestions?!
(I use Video Player Example Application)