是否可以在 Android TV 中使用 3rd 方应用程序在任何屏幕上绘制叠加层? [英] Is it possible to draw overlay over any screen using 3rd party app in android TV?

查看:31
本文介绍了是否可以在 Android TV 中使用 3rd 方应用程序在任何屏幕上绘制叠加层?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个与 Android TV 相关的问题.我们想为安卓电视创建一个应用程序,它可以作为服务运行,并且能够在任何直播电视或任何屏幕上放置叠加层,并且能够显示一些文本/视频.这是否可以在带有 3rd 方应用程序的 android 电视上进行.

I have a question related to android TV. We want to create an app for android TVs which can run as service and is able to put overlay on any live tv or any screen and is able to show some text/video. Is this possible to do on android tv with a 3rd party app.

这可能是一个非常基本的问题,但请原谅我的无知.如果有人能回答我,将不胜感激.如果我知道答案,那么我将尝试进行更多研究以创建应用程序.在互联网上,我找不到我的问题的任何答案.

It may be a very basic question but sorry for my ignorance. Would appreciate if someone can answer me. If I know the answer, then I will try to research more to create the app. Over internet, I could not find any answer to my question.

谢谢.

推荐答案

是的,这是可能的.您只需要从服务开始一个透明的活动.

Yes it is possible. You just need to start a transparent activity from the Service.

这将允许您在屏幕上显示内容,而不管输入源如何,但前提是它是带有 Android TV 的物理电视,因为当您将 Android 电视盒连接到电视时,它已经仅限于此特定的输入源.

This will allow you to show content on the screen regardless of the input source, but ONLY if it is a physical TV with Android TV, since when you have an Android TV box connected to the TV, it is already limited to that particular input source.

这篇关于是否可以在 Android TV 中使用 3rd 方应用程序在任何屏幕上绘制叠加层?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆