Finish sending media from Android to Chromecast. (Back to chromecast home-screen)

86 Views Asked by At

I am following this Google Developers tutorial and I have written my Android Sender with the Media Chanel to send my songs to chromecast.

The app works well but, when I want to stop the connection,(every time I call teardown() method) my apps logo still appears in my TV background for few minutes before to show the default chromecast "home-screen".

If I "Stop Sending" from Chrome browser tab, the app finish well and the chromecast default wallpapers appears in the TV inmediately. How can i recreated this programaticaly from android ?

Is not the default behavior when you call to...

  Cast.CastApi.stopApplication(mApiClient, mSessionId);

...??

0

There are 0 best solutions below