Hello, everyone.
There is a place where startActivity() did not behave as I had
expected, when executed from the Activity in the background.
Please tell me whether this is the right specification of the Android.
Sample:
1. Launch Activity in the following order.
A1→A2→A3→B1
A1, A2, and A3 run in a same task(A).
B1 runs in a different task(B).
2. Launch A3 from A1, which is in the background, with
FLAG_ACTIVITY_SINGLE_TOP.
Expected behavior:
A3 that is currently running receives a new Intent.
(Because A3 is the TOP OF TASK(A))
Actual behavior:
New A3' launches, and the Activity Stack becomes as below.
A1→A2→A3→A3'→B1
SDK version used to check the behavior:
SDK 1.5
SDK 1.6
SDK 2.0
Best Regards.
-------------------------
Mitty
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---