title: Enable screen casting feature of Android from our application
body: <p>I am working on casting application. I am able to cast local videos from my app on TV using chromecast device.</p>
  
  <p>Now I want to cast(mirror) complete android phone on the TV. I know Android provides this as a default feature by using Cast feature in quick Settings where user has to explicitly connect to a Chrome Cast device available.</p>
  
  <p>How can I do the same from my application? I have tried using MediaProjection API to capture screen and save it. </p>
  
  <p>Can anybody show me direction how to do that?</p>