pinehead
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011
10:57 AM
Category screen?
I have an application that just uses the springboard to play the video. I"m wanting to submit it to the public channel and would like to have a "category" home screen. I was using a roposterscreen but that doesn't work as I want. I want a launch screen that basically just list "icons" that launch a function (my spring board and mp3 pages).
Roku documents mentioned something about a category screen that displays icons but i didn't find much about it in the developer guide. Anybody have any thoughts or know what this? Do you have any code samples?
Thanks,
Roku documents mentioned something about a category screen that displays icons but i didn't find much about it in the developer guide. Anybody have any thoughts or know what this? Do you have any code samples?
Thanks,
9 REPLIES 9


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011
11:27 AM
Re: Category screen?
The "category screen" you've seen mention of is probably just a roPosterScreen with its style set to "flat-category". Check out SetListStyle() on page 36 of the Component Reference.
pinehead
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011
11:49 AM
Re: Category screen?
What would be the best way to create "icons" without using the setlist? This way i can set a link/function call for each icon?


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011
12:07 PM
Re: Category screen?
There is no way to populate a poster screen without SetContentList(). If you want different behavior for each item, you can do so in your isListItemSelected() handler. Just set a flag in each item's content-meta-data object and check that flag when the user selects the item...
if msg.isListItemSelected()
if contentList[msg.GetIndex()].action = "do-thing-1"
' do something
else if contentList[msg.GetIndex()].action = "do-thing-2"
' do something else
end if
...
end if
pinehead
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011
12:39 PM
Re: Category screen?
I've actually got this exact behavior setup (except for the unique action). Works perfectly on the dev side but when i upload it to my channel and try to add the channel in the store, i get an insafficent memory. Only with these functions, when i take that code out it works great. I don't understand why it would break in the channel store but not while in the dev environment.
Any idea?
Thanks,
Any idea?
Thanks,
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2011
03:51 PM
Re: Category screen?
Try reducing the size of the images used in your app by a significant amount. For example, load all your images into Adobe ImageReady and optimize as .jpg, .png-8 or .gif.
- Joel
- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
pinehead
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011
09:13 AM
Re: Category screen?
That's not it, for some reason it seems directly related to the code.

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2011
10:29 AM
Re: Category screen?
The insufficient memory when trying to add your channel is due to the total size of all the channels added to your roku.
Try removing some other installed channels first and then try installing your channel.
--Kevin
Try removing some other installed channels first and then try installing your channel.
--Kevin
pinehead
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2011
12:31 PM
Re: Category screen?
Kevin, I did, i even deleted all of my channels and restored my roku. It only seems to happen when i add category screen code.

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2011
08:32 AM
Re: Category screen?
If you private message me your channel code I will take a look.
--Kevin
--Kevin