Your Digital Media Has Never Looked So Good

Search found 465 matches

by RokuNB
Sat Apr 08, 2017 10:55 pm
Forum: Roku Developer Program
Topic: Black screen for more than 3 sec without loading indicator appears after splash screen
Replies: 1
Views: 379

Re: Black screen for more than 3 sec without loading indicator appears after splash screen

Why is it showing black screen for so long - is it compilation or runtime delay? Should be easy to tell if exiting the app and starting it again is much faster the 2nd time.

If creation of RSG components is slowing the display, a workaround is to use non-RSG screen to display the loading msg
by RokuNB
Sat Apr 08, 2017 10:39 pm
Forum: Roku Developer Program
Topic: Back key not closing RSG Dialogs
Replies: 20
Views: 2191

Re: Back key not closing RSG Dialogs

According to the docs, the note above getRoots() states: The following methods can be called on any subject node and return the same global results. They can be used in a development channel for debugging purposes, but should not be used in a production channel. and then it goes on to say: Any call...
by RokuNB
Thu Apr 06, 2017 10:34 am
Forum: Roku Developer Program
Topic: RAF and ui_resolutions=fhd problem on some devices
Replies: 9
Views: 2342

Re: RAF and ui_resolutions=fhd problem on some devices

Thanks 24i - that is a great way to reproduce the issue, by simply plugging the URL in that sample - appreciate it! Yes, i can see the issue - when the app is manifested as FHD but playing in HD UI - the video is shrunken as shown on the image. We'll look into it. Until this is fixed - i doubt you w...
by RokuNB
Wed Apr 05, 2017 7:29 pm
Forum: Roku Developer Program
Topic: Back key not closing RSG Dialogs
Replies: 20
Views: 2191

Re: Back key not closing RSG Dialogs

or you can do
            scene = invalid
            for each nod in m.top.getRoots():
                if nod.isSubType("scene") then scene = nod: exit for
            next

This should work, if there is one and only one scene (which seems like a sane assumption)
by RokuNB
Wed Apr 05, 2017 6:44 pm
Forum: Roku Developer Program
Topic: GetPartialUserData not working in private channel
Replies: 8
Views: 1227

Re: GetPartialUserData not working in private channel

.getUserData() and .getPartialUserData() are NOT blocked for private channels. I just checked and they work just fine. There is a caveat however - of which i was not aware till today - that these functions silently fail if the developer account is not enrolled in billing. No diagnostics - just `inva...
by RokuNB
Wed Apr 05, 2017 5:47 pm
Forum: Roku Developer Program
Topic: Access values after ParseJson are not in order
Replies: 3
Views: 854

Re: Access values after ParseJson are not in order

... if you use the .keys() method however, magic happens (keys() returns a sorted array):
 for each category in json.keys()
by RokuNB
Wed Apr 05, 2017 5:43 pm
Forum: Roku Developer Program
Topic: RAF and ui_resolutions=fhd problem on some devices
Replies: 9
Views: 2342

Re: RAF and ui_resolutions=fhd problem on some devices

I just plugged your URL in couple of test apps (SDK1 and RSG), set ui_resolutions=fhd and there was no problem playing pre/mid/post-rolls - they showed full screen. And i verified the UI was in 1080 too. So, something else must be funky in your app. What kind of app is that? If SDK1, is it canvas or...
by RokuNB
Wed Apr 05, 2017 5:05 pm
Forum: Roku Developer Program
Topic: RAF fetching all the ads at once
Replies: 4
Views: 614

Re: RAF fetching all the ads at once

prani_bigstar - please send more information on this (either by PM to me or here in the thread) if you want looked further into detail.
by RokuNB
Tue Apr 04, 2017 9:41 am
Forum: Roku Developer Program
Topic: Using registry values inside dialog?
Replies: 8
Views: 1184

Re: Using registry values inside dialog?

You are prevented from creating (and because of that, having) a roRegistrySection object in the scene graph thread. Because of that you'll have to do registry handling either in the main or a task thread.

See https://sdkdocs.roku.com/display/sdkdoc ... pt+Support
by RokuNB
Mon Apr 03, 2017 5:46 pm
Forum: Roku Developer Program
Topic: Note about the Sort custom routine
Replies: 6
Views: 795

Re: Note about the Sort custom routine

I have a better idea - just don't use that code!
A year ago (rOS 7.1) roArray functions Sort(), SortBy(), Reverse() were added - use these, can do case-insensitive sort too.
https://sdkdocs.roku.com/display/sdkdoc/ifArraySort
by RokuNB
Mon Apr 03, 2017 5:38 pm
Forum: Roku Developer Program
Topic: Back key not closing RSG Dialogs
Replies: 20
Views: 2191

Re: Back key not closing RSG Dialogs

i haven't read that sample - are the "Dialog used to show warnings and the KeyboardDialog" part of it (then pls mention which file/component) or something you added? who has the input focus at that time, when they are up?
by RokuNB
Mon Apr 03, 2017 2:48 pm
Forum: Roku Developer Program
Topic: If I only have HD in the manifest, do I have to provide SD, HD, and FD splash and background images?
Replies: 6
Views: 1049

Re: If I only have HD in the manifest, do I have to provide SD, HD, and FD splash and background images?

That's correct, as long as your channel scenes are based on an FHD (1920x1080) layout. If so, and you don't specify any other resolutions, the channel should automatically scale if running at a different resolution. To be clear, belltown's comment is about `ui_resolutions=fhd` setting, which is com...
by RokuNB
Fri Mar 31, 2017 6:51 pm
Forum: Roku Developer Program
Topic: RAF 2.0: Native integration of ads in RSG apps
Replies: 11
Views: 2088

RAF 2.0: Native integration of ads in RSG apps

A new version of RAF (Roku Ad Framework) - 2.0 - has been out for a month. The major new feature is the library's native support of RSG, more detail in this blog post https://blog.roku.com/developer/2017/03/31/announcing-raf-2-0/ A minimal sample demonstrating the new way of use can be found at http...
by RokuNB
Fri Mar 31, 2017 6:43 pm
Forum: Roku Developer Program
Topic: Developing Content and Channel for Roku
Replies: 5
Views: 497

Re: Developing Content and Channel for Roku

Austin - i recommend starting with Roku's "Direct Publisher" product, where new channel can be published without writing code, by only configuring a descriptor feed. See http://newsroom.roku.com/press-release/company-usa/roku-introduces-direct-publisher https://blog.roku.com/developer/2016...
by RokuNB
Fri Mar 31, 2017 5:45 pm
Forum: Roku Developer Program
Topic: Really modal dialog
Replies: 11
Views: 1278

Re: Really modal dialog

^^^ What he said :)