title: android onActivityResult vs getIntent
body: <p>Both <code>onActivityResult</code> and <code>getIntent</code> receives intent from other activities.</p>
  
  <p>when one is used over another?</p>
  
  <p>I think onActivityResult is called after I call startActivityForResult to receive a result.</p>
  
  <p>I guess then <code>getIntent</code> is used to receive intent which was sent by someone other than me.  Is it correct?  </p>
  
  <p>Below is my understanding how it's used, wonder if the understanding is correct.</p>
  
  <ul>
  <li>I register to listen to certain intents (probably in manifest)</li>
  <li>when registered intents get delivered, a responsible activity resumes (or gets created) </li>
  <li>getIntent should generally be placed in <code>onResume</code> to check the intent </li>
  <li>one should dispose the used intent by removing whatever data inside the intent</li>
  </ul>