Suppose Activity A is running. Then I called startActivity() from
another process which start Activity B. Then normally A.stop() will be
called. But if I write Activity B like this:

class B extends Activity{
  public void onCreate(Bundle ...){
     super.onCreate(...);
     finish();
  }
}
which means B finish itself once it was created. Then I noticed
A.stop() won't be called.
My question is:
1. Is it for sure A.stop() won't be called in this condition?
2. At after what step of B(B.onResume()? B.onStart()?) will A.stop()
be called? Is there any step sequence for certain?

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to