Hi,
I have two activities A1 (main) and A2 (children) and two processes P1
and P2.
A1 has this behavior:

a) First time in the application I need to trigger P1 (onCreate using
a splash in foreground)
b) When arrive from other's activities or from A2 without results I
need to trigger P1 (onRestart)
c) When you arrive from A2, with a given requestCode result, I need to
launch P2 but not P1 (onActivityResult)

b) a c) are mutual exclusive. Reading docs (*) I don't find which is
called first (to put an ugly flag and prevent the conflict).
Is there another way to handle this situations?

Thanks.
Sebastián Marconi

(*) For example onActivityResult is not in the lifecycle
http://developer.android.com/images/activity_lifecycle.png

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to