是否可以使用Android TV中的3rd party应用在任何屏幕上绘制覆盖图? [英] Is it possible to draw overlay over any screen using 3rd party app in android TV?

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

问题描述

我有一个与Android TV有关的问题.我们想要为Android TV创建一个可以作为服务运行的应用程序,并且可以在任何直播电视或任何屏幕上叠加显示,并且可以显示一些文本/视频.这可以在具有第3方应用程序的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 TV盒连接到电视时,它已经仅限于此特定的输入源.

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 party应用在任何屏幕上绘制覆盖图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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