Getting activity result in OnPause after call to finish()
<p>I'm looking for the accessor version of Activity's setResult(). Imagine getResult() to return a Bundle if a resultCode and Intent have been used in setResult().</p>

<p>The reason for this is by default activities load with the resultCode set to RESULT_CANCELED: <a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3_r1/android/app/Activity.java#669" rel="nofollow">http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3_r1/android/app/Activity.java#669</a>, and I would like to be able to query the resultCode from the onPause method. This might save a listener for the back button pressed.</p>
