title: Connecting phone to external display and launching app
body: <p>Is it possible to create an app which launches on an external display when HDMI is connected to the phone?</p>
  
  <p>Basically. I want to create an app that works like a mini OS, similar to Samsung Dex.</p>
  
  <p>To start off, I'd just like to have the app launch automatically when HDMI is connected and adjust to the screen size, then show the user home screen app icons etc.</p>
  
  <p>Is this possible?</p>
  
  <p>I found some apps on the app store that do this:</p>
  
  <p><a href="https://play.google.com/store/apps/details?id=com.sentio.desktop" rel="nofollow noreferrer">Sentio desktop</a></p>
  
  <p><a href="https://play.google.com/store/apps/details?id=de.m_lang.leena" rel="nofollow noreferrer">Leena</a></p>
  
  <p>How are they doing this?</p>