[mono-android] TaskScheduler.FromCurrentSynchronizationContext()

2011-11-14 Thread andi
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 (her

Re: [mono-android] TaskScheduler.FromCurrentSynchronizationContext()

2011-11-14 Thread Wally McClure
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: andi.f...@gmx.de > To: monodroid@lists.ximian.

Re: [mono-android] TaskScheduler.FromCurrentSynchronizationContext()

2011-11-14 Thread andi
Thank you Wally, I know RunOnUIThread and of course that works. However I try to build a platform independent library in which I can use the TaskScheduler. Meanwhile I found a working solution for me: I create the TaskScheduler as followed: andi -- View this message in context: http://mo

[mono-android] Sharing Code Between MonoTouch and MonoDroid

2011-11-14 Thread José M . Rivera
What is the best or correct way to share business logic between MonoTouch and MonoDroid. Do I need to have to different projects and maintain both? Thanks ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximia

Re: [mono-android] TaskScheduler.FromCurrentSynchronizationContext()

2011-11-14 Thread Wally McClure
Yes, that is what I was thinking you were doing. Wally > Date: Mon, 14 Nov 2011 07:46:22 -0800 > From: andi.f...@gmx.de > To: monodroid@lists.ximian.com > Subject: Re: [mono-android] TaskScheduler.FromCurrentSynchronizationContext() > > Thank you Wally, > > I know RunOnUIThread and of course th

[mono-android] Web reference/Service reference

2011-11-14 Thread Nicklas Møller Jepsen
Hi, I want to consume a webservice and use both on Android and WP7. I've followed some guides on how to use Linker to share libraries between Mono projects, but it seems the MonoDroid only supports the "old fashioned" Web Reference and WP7 only supports Service References. Anyone got an idea ho

[mono-android] honeycomb actionbar .xml definition

2011-11-14 Thread Wally McClure
When I define the items for an action bar in an xml file, I am getting a warning on showAsAction in Visual Studio. VS is reporting that the attribute is not declared. Otherwise the application works on my device with no runtime errors. __

[mono-android] action bar SetDisplayHomeAsUpEnabled

2011-11-14 Thread Wally McClure
I'm setting the action bar's SetDisplayHomeAsUpEnabled to true. According to google's doc, I should get a little up arrow. I'm not seeing an up arrow on my xoom when i set this. Is there anything else that I need to do? Wally

Re: [mono-android] action bar SetDisplayHomeAsUpEnabled

2011-11-14 Thread Jonathan Pobst
Not sure if it helps, but I had ported some ActionBar samples for ApiDemo: https://github.com/xamarin/monodroid-samples/commit/937bc854122e994111d483e00b116309e864 Jonathan On 11/14/2011 7:41 PM, Wally McClure wrote: > I'm setting the action bar's SetDisplayHomeAsUpEnabled to true. > Accord

Re: [mono-android] action bar SetDisplayHomeAsUpEnabled

2011-11-14 Thread Wally McClure
Thanks Jonathan. I think the problem is that I have a dark theme and just can't see it. Wally > Date: Mon, 14 Nov 2011 20:53:08 -0600 > From: mon...@jpobst.com > To: monodroid@lists.ximian.com > CC: theevilprogram...@hotmail.com > Subject: Re: [mono-android] action bar SetDisplayHomeAsUpEnable

[mono-android] Strange Cursor Behavior

2011-11-14 Thread mkowalski
I have created a custom SimpleCursorAdapter and have overridden the NewView and BindView methods in order to format some of the text that is displayed in the resulting view. Everything works without issue when using the shared runtime and no linking i.e. running with a debug build. However, when I

Re: [mono-android] Strange Cursor Behavior

2011-11-14 Thread mkowalski
I should have also mentioned that I am using Monodroid v1.9.2 -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Strange-Cursor-Behavior-tp4993326p4993346.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] Strange Cursor Behavior

2011-11-14 Thread Jonathan Pryor
On Nov 14, 2011, at 11:02 PM, mkowalski wrote: > However, when I attempt to run the application without the shared runtime and > with linking, the cursor (in the context of the adapter) does not appear to > function normally. Disable linking, and see if that fixes it. If it does, please file a b

Re: [mono-android] honeycomb actionbar .xml definition

2011-11-14 Thread Jonathan Pryor
On Nov 14, 2011, at 3:23 PM, Wally McClure wrote: > When I define the items for an action bar in an xml file, I am getting a > warning on showAsAction in Visual Studio. VS is reporting that the attribute > is not declared. Otherwise the application works on my device with no > runtime errors.

Re: [mono-android] Sharing Code Between MonoTouch and MonoDroid

2011-11-14 Thread Jonathan Pryor
On Nov 14, 2011, at 11:05 AM, José M. Rivera wrote: > What is the best or correct way to share business logic between MonoTouch > and MonoDroid. Do I need to have to different projects and maintain both? Unfortunately yes, at this time you need to have different projects and link the files into b