Yes, check the launch mode of your activity in your Manifest.

On Sep 2, 11:12 am, Dianne Hackborn <[email protected]> wrote:
> Look at the log.  You are probably starting the activity with NEW_TASK (or
> the activity's launch mode is singleTask ot singleInstance), in which case
> no result can be returned.
>
> On Wed, Sep 2, 2009 at 9:52 AM, Zigurd <[email protected]> wrote:
>
> > I have a program where onActivityResult is being called with the
> > correct request code, and a null Intent parameter, before the the
> > Activity being launched begins. And, when that Activity calls
> > setResult, onActivityResult is not called.
>
> > This is probably some error indication, but for what? No exception is
> > thrown in the startActivityForResult call. The Activity being started
> > starts correctly, gets all the parameters correctly, runs correctly
> > and calls setResult with the correct results.
>
> > Both Activity objects are in the same application.
>
> --
> 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