Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reel Rookie

Keep Splash Screen While Code is Running

Hi everyone. I want to keep the splash screen image there while my app is running a GET request task to get data and then the rest of the code. I tried to set splash_min_time=5000 in the manifest file but realized the task is not run while the splash screen is on. I also tried to run the task in main.brs by creating the task node before showing the scene, but it freezes at the splash screen. What is the right way to achieve what I need?

0 Kudos
Community Streaming Expert

Re: Keep Splash Screen While Code is Running

You want to use "splash_min_time=0".  Don't bother with a task.  Just use roUrlTransfer for your GET and start the SG stuff after the transfer finishes.

Note:  I haven't tested this, but I believe it's how it's supposed to work.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Roku Guru

Re: Keep Splash Screen While Code is Running

Use the splash_min_time=0 to get rid of the static splash. Then you can run the splash in SG inside your application. Add the images and add that required to do so in the pkg. Then you can have an animated splash while your roUrlTransfer stuff goes on. Even updating the animation "progressive disclosure" style and have it show a progress bar if this is downloading a lot of things. Depends really on what you are doing and how the user is supposed to interact with your application if at all.

0 Kudos