问题
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.
Thanks.
回答1:
Yes it is possible. You just need to start a transparent activity from the Service.
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.
来源:https://stackoverflow.com/questions/42069561/is-it-possible-to-draw-overlay-over-any-screen-using-3rd-party-app-in-android-tv