Hi Nosh,

i had a similar problem few days ago, look here:
http://mono-for-android.1047100.n5.nabble.com/Can-t-create-handler-inside-thread-sync-problem-why-td5710999.html

In Android you have to use RunOnUiThread() Method to sync code to the ui.
Your code have to lool like somthing like this:

RunOnUiThread(delegate { Toast.MakeText(this, "ServerReturned " +
ex.Message, ToastLength.Long).Show(); });

Hope this helpes.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Async-and-the-UI-tp5711015p5711022.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to