title: onNewIntent() lifecycle and registered listeners
body: <p>I'm using a singleTop Activity to receive intents from a search-dialog via <a href="http://developer.android.com/reference/android/app/Activity.html#onNewIntent%28android.content.Intent%29"><code>onNewIntent()</code></a>.</p>
  
  <p>What I noticed is that <code>onPause()</code> is called before <code>onNewIntent()</code>, and then afterwards it calls <code>onResume()</code>.  Visually:</p>
  
  <ul>
  <li>search dialog initiated</li>
  <li>search intent fired to activity</li>
  <li><code>onPause()</code></li>
  <li><code>onNewIntent()</code></li>
  <li><code>onResume()</code></li>
  </ul>
  
  <p>The problem is that I have listeners registered in <code>onResume()</code> that get removed in <code>onPause()</code>, but they are needed inside of the <code>onNewIntent()</code> call. Is there a standard way to make those listeners available?  </p>