I think you want StartActivityForResult, SetResult and OnActivityResult

I know I have an example of that somewhere, but I can't find it right now.
In the meantime check this SO post

http://stackoverflow.com/questions/4064126/android-startactivityforresult-and-finish-with-video

It's not a complete code example - but if you call StartActivityForResult
in A to open B, and implement OnActivityResult in A... and in B.listclick
call SetResult before Finish then you should get it working...

HTH
craig


On Mon, Jun 25, 2012 at 8:29 PM, Pattt <patrick.riba...@gmail.com> wrote:

> Hi,
>
> I'm a mono newbie, so please excuse if my question is trivial.
>
> I do have an activity A where a button opens a ListActivity B (kind of
> dialog box)
> When user click on the list, I can retrieve the selected item,
> I then close B with this.finish, this displays back A
>
> The question is, how do I retrieve in A:
> - that B just closed
> - the selected item in B
>
> Thank you in advance,
> Patrick.
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Newbie-Retrieve-info-from-ListActivity-tp5710504.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to