Search code examples
androidchromecast

How to put custom image after cast device is connected from sender application? (android app)


i have used Media Router for casting my app and i want to change the screen after connection to chromecast device just like that of youtube(reference).How can i achieve that?

i want like this image but that image will be my own

Now it shows this:


Solution

  • If you choose to use the Cast SDK for casting, then you can write your own custom receiver or use a Styled Receiver and provide a home image and a few more styling parameters.