I've seen that there is a lot of code on the internet to add cast functionality to an Android app. However, they all serve to make multimedia content cast, but I would like to cast the entire app (that is, to see the app on television as it is). Therefore, I would like to know if this is possible and, if so, how it could be done.