renojim
16 years agoCommunity Streaming Expert
Something changed in the new firmware - App Kill
I guess Roku implemented some kind of "app kill" when the Home key is pressed on the remote. It used to be that if your app was several layers deep in a hierarchy of screens, each screen would get an isScreenClosed() event. My app would exit its main event handler while loop when it received the isScreenClosed() for the top level and then save some stuff to the server. Now, the app gets killed long before that last event if it's exited using the Home key. So, if there's anything you want to do when the user exits your channel, you may not be able to do it.
After some more testing, even if you only have one layer your app may be killed before you get a chance to do anything as the channel is exited via the Home key. I don't think I like it!
Edit: It's even worse than I thought. I try to save the current progress into the video when a user exits the video screen, but if the user exits via the Home key, there isn't even a chance to do that. I sure hope there's a fix for this!
-JT
After some more testing, even if you only have one layer your app may be killed before you get a chance to do anything as the channel is exited via the Home key. I don't think I like it!
Edit: It's even worse than I thought. I try to save the current progress into the video when a user exits the video screen, but if the user exits via the Home key, there isn't even a chance to do that. I sure hope there's a fix for this!
-JT