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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sonofpaul
Newbie

Can a background app programmatically detect the app name and video title playing in the active app?

I am just beginning to explore Roku development. I have a plan for an app, and want to see if the basic concept is even possible on the Roku platform before diving in.

Is it possible for one app to see the current focused app name and video title, even if the focused app is not mine? So, for example, my app, running in the background somehow, would know that the user is currently watching Die Hard on Netflix. Or Avengers Endgame on Tubi. Etc. If this is possible, how?

Any suggestions (thorough or vague) or tutorials you could point me to? What kinds of conditions would need to be met? Would I need to get special permissions from the user to do this?

Maybe accessibility events? Or a CurrentActiveApplication variable, or something like that?

Can two apps even run at the same time? Is that even possible?

The app I would make could be a normal BrightScript channel, or a Roku Screensaver, or an IDK app. Or something else, if there is something else. I don't know -- I'm just beginning my research.

FWIW, This would be for the purpose of parental controls and/or personal accountability.

Is this (or something similar) possible on Roku? Or are things so sandboxed that any and all info about other apps is simply not available?

0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: Can a background app programmatically detect the app name and video title playing in the active

Take the question mark off the end of your last sentence and you'll have the way it is on Roku.  No such thing as a background app.

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.