Hi Vani,
plz try this solution , it might work i guess.
1) Override OnActivityResult() method in A, B, C activities and launch
B,C,D activities using StartActivityForResult() method
2) call SetResult() method from Activity D, so that it hits
OnActivityResult() of activity C,
3) u need to call again SetResult() method from
OnActivityResult() activity C , so that it hits OnActivityResult() of
activity B
4)call SetResult() from B's OnActivityResult() , now it hits
OnActivityResult() method of activity A
regards
raju
On Fri, Jan 20, 2012 at 1:54 PM, vani reddy <[email protected]>wrote:
>
> HI friends,
>
> In my app i am traversing between 4 activities A,B,C,D .
>
> in Activity A i am going to B and then C and D
>
> Intent intent = new Intent(A,B);
> startActivityForResult(intent,0);
>
> From D i need to go to activity A
>
>
> from Activity D i am doing
>
> Intent intent = new Intent();
> intent.putExtra("str",str);
> setResult(RESULT_OK,intent)
>
> In activity A
> I am fetching result in
>
> onActivityResult(int requestCode, int resultCode, Intent data)
> {
> Here the intent data is null
> }
>
> How to resolve this issue.Please reply.
>
>
>
>
>
> --
> Regards,
> Vani Reddy
>
> --
> 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
--
Raj
--
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