title: Replace current activity
body: <p>I need to replace the current activity with a new one. That is, I want to start a new activity and remove the current activity from the task stack.</p>
  
  <p>Based on the documentation, it seems the best way would be to start the activity using <a href="http://developer.android.com/reference/android/app/Activity.html#startActivity(android.content.Intent)" rel="noreferrer">Activity.startActivity</a> as per usual, and then call <a href="http://developer.android.com/intl/fr/reference/android/app/Activity.html#finish()" rel="noreferrer">Activity.finish</a> immediately to close the current activity.</p>
  
  <p>Is this a valid usage of these APIs or should I be doing something else?</p>