[android-developers] Re: PreferencesActivity and setResult(RESULT_OK,result)

2009-07-21 Thread eags
Mark, thanks for the pointers. When I said onStop() and onDestroy() don't get called, all I know is I overrode them, set breakpoints inside them, and I never hit those breakpoints. In any case, your solution worked perfectly. The reason for all this is as an exercise I'm doing a rough reimpleme

[android-developers] Re: PreferencesActivity and setResult(RESULT_OK,result)

2009-07-21 Thread Mark Murphy
eags wrote: > I am trying to set the result in a PreferencesActivity so I can look > at extras in the caller inside onActivityResult. > > The problem is that in onActivityResult(int requestCode, int > resultCode, Intent data), resultCode is always set to 0 > (RESULT_CANCELLED) and the data is alw