title: Can I call startActivity() from within onResume()?
body: <p>I have an android activity that needs to call another activity (to get a password from the user) before its own screen is brought up. My code currently does this by calling startActivity() from within onResume(); it sort of works, but I have been getting inconsistent behaviour. Can anyone tell me whether this approach is legal or not (and if not, how should I do it) ?</p>
  
  <p>Thanks, Richard.</p>