Re: [mono-android] Async and the UI

2012-07-26 Thread Jonathan Pryor
On Jul 24, 2012, at 7:28 AM, Nosh wrote: > I am using async to get message back from web service and in the methos > dealing with the returned msg from the web service i need to show a message. > I realise due to thread i cannot update UI. As JLee mentioned, you can use Activity.RunOnUiThread(

Re: [mono-android] Async and the UI

2012-07-25 Thread JLee
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: Run