I have been using the immediately destroy activities option. Thanks
for your help. It seems I need further investigation on why
onResultActivity is not being called.

On Sep 30, 1:03 pm, Dianne Hackborn <[email protected]> wrote:
> I used the shell to kill the process with the kill command.  You could also
> turn on the "immediately destroy activities" development option for a
> somewhat similar effect (your current activity instance will be destroyed,
> but its process will still be there).
>
>
>
> On Wed, Sep 30, 2009 at 10:03 AM, Jeff King <[email protected]> wrote:
>
> > How did you "kill" gmail? I thought only Android could kill
> > activities. I get desired results when onRestart is called but not
> > when onCreate is called after returning to the activity that had been
> > killed (left side of diagram
> >http://d.android.com/reference/android/app/Activity.html#ActivityLife...
> > )
>
> > On Sep 30, 11:48 am, Dianne Hackborn <[email protected]> wrote:
> > > It does get delivered when recreated (just confirmed by trying to attach
> > an
> > > image in gmail and killing gmail while in the gallery); there must be
> > some
> > > other wrinkle to your situation.
>
> > > On Wed, Sep 30, 2009 at 9:36 AM, Jeff King <[email protected]> wrote:
>
> > > > I have a flow A->B->C->D where A desires some information that is
> > > > obtained by D. B, C, and D propagate the data back through the flow
> > > > using setResult(RESULT_OK, data) and finish(). All intents in A, B,
> > > > and C are started with startActivityForResult. However, if B is
> > > > reclaimed by Android and forced to call onCreate again after C
> > > > finishes onActivityResult in B is never called and the data never
> > > > makes it back to A.
>
> > > > Is there a way I can be sure that onActivityResult will be called?
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > [email protected]
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to