title: How to properly handle intents?
body: <p>My application can view files of a certain type, and declares this in an intent-filter in its AndroidManifest.xml.  My app launches fine, but I see some inconsistent behavior on different devices and different applications and am wondering if there is a best practice I am missing.</p>
  
  <p>I often see this use case on some file browsers:</p>
  
  <ol>
  <li>User selects a file and it opens in my application.</li>
  <li>User presses home and then relaunches the file browser intent.</li>
  <li>The filebrowser app launches, but with my application on top (if the user presses back, it will go back to the file browser).</li>
  </ol>
  
  <p>Other times I see this more desirable use case:</p>
  
  <ol>
  <li>User selects a file and it opens in my application.</li>
  <li>User presses home and then relaunches the file browser intent.</li>
  <li>The filebrowser app launches normally (if the user selects my application, it launches with the previously opened file active).</li>
  </ol>
  
  <p>So, I wonder if this inconsistent is due to different implementations by the file browsers, or if there is something I should be doing to properly handle intents, like some way of "releasing" the application that launched my app?</p>