title: How is Facebook Chat Heads implemented?
body: <p>The <a href="https://play.google.com/store/apps/details?id=com.facebook.orca">Facebook Android Messenger application</a> has a feature called Chat Heads.  It lays a chat icon and window over the top of other applications.  How is this achieved?  Which Android APIs are used?</p>