I've always used RunOnUIThread to write to the UI from a background thread. Try it and see if that works. BTW, I realize that you are trying to use something else, just trying to help out. :-) Wally
> Date: Mon, 14 Nov 2011 04:51:01 -0800 > From: [email protected] > To: [email protected] > Subject: [mono-android] TaskScheduler.FromCurrentSynchronizationContext() > > Hi folks, > > I am trying to use the the SynchronizationContext in order to synchronize > background threads with the UI thread. There are a couple of similar > examples (cf. > http://reedcopsey.com/2009/11/17/synchronizing-net-4-tasks-with-the-ui-thread/ > link ) like this working with WPF and Winforms (here I use m4a): > > > > Unfortunately, it does not work. The actions, which have to run on the UI > thread running on background threads and the button text is not updated. > > Have anyone an idea? > > Best > andi > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/TaskScheduler-FromCurrentSynchronizationContext-tp4990662p4990662.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
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
