What do you mean it is running in the background?  The only reason you
should get an immediate cancel is if you used the NEW_TASK flag or B
is a singleTask or singleInstance launch mode, because in that case it
runs completely independently of its caller.

What are you trying to accomplish?

On Sep 19, 2:24 am, "vicky panthri" <[EMAIL PROTECTED]> wrote:
> Yeah I m trying to do that.
> I launch activity B from activity A. here B is Background Activity.
> so when B gets launched by A I get the RESULT_CANCELLED but still my
> Activity B is running in the background.
> I want A to be capture or notify when B dies.
> is that possible?
> I tried with the RunningTaskInfo but couldnt get it working.
>
> Kindly suggest
>
> On Fri, Sep 19, 2008 at 12:40 PM, hackbod <[EMAIL PROTECTED]> wrote:
>
> > If you use startActivityForResult(), you will get RESULT_CANCELED if
> > the launched activity crashes while it is running.
>
> > On Sep 18, 10:29 pm, wiki <[EMAIL PROTECTED]> wrote:
> > > Is there a way to capture the death event of one activity to another
> > > activity?
> > > say If two actitivities A and B are runnning separately. so can i get
> > > the death event of activity A to B?
> > > or If A launches B then is there a way that A can be notified with the
> > > B's death event to B?
>
> > > Regards
--~--~---------~--~----~------------~-------~--~----~
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