Re: [MonoTouch] Error with Namespace System.Drawing.Color

2012-04-10 Thread Sebastien Pouliot
Hello, The link would be: http://iosapi.xamarin.com/?link=T%3aSystem.Drawing.Color and it clearly states System.Drawing.Color Structure, i.e. not namespace. This means you cannot do something like using System.Drawing.Color; is C#. The namespace of the Color *structure* is named System.Drawing

Re: [MonoTouch] update to MonoDevelop 2.8.8.4 makes our app crash

2012-04-10 Thread Sebastien Pouliot
Hello, On Mon, Apr 9, 2012 at 4:44 PM, Conway Wieler conway.wie...@librestream.com wrote: I updated my MonoDevelop to 2.8.8.4 and now the Debug build of our app crashes during startup with an Unable to resolve pinvoke method error. The Release build still works properly. Our app has a bunch of

[MonoTouch] XML Deserialization exception when using web service method that has OUT parameters - any workarounds?

2012-04-10 Thread René Ruppert
Hi, I have submitted a bug (4367, private) but I'm looking for a workaround. The problem: I'm consuming a webservice (classic web services) and it has a method public void HasPermissionsForUser( [...] out bool HasPermissionsForUserResult, [System.Xml.Serialization.XmlIgnoreAttribute()] out

Re: [MonoTouch] PresentViewController crashes on real iPhone

2012-04-10 Thread Mg
I tested on an iPhone running the latest iOS and an 2nd generation iPod Touch running iOS 4 and I get the same crashes, while the simulator never crashes. Replacing all instances of UIViewEllipse with UIView fixes the problem; However I can't figure out what is wrong with the class. -- View this

Re: [MonoTouch] update to MonoDevelop 2.8.8.4 makes our app crash

2012-04-10 Thread Conway Wieler
I continued to investigate and found the problem. I just happened to notice that the iPhone Build options had Supported Architectures set to ARMv6 in MonoDevelop 2.8.6.5 and ARMv7 in 2.8.8.4. We had our Xcode project set up to compile our C/C++ source into armv6 code for Debug and armv7 code

Re: [MonoTouch] How to add the Magnify Control to the UIImage

2012-04-10 Thread Pritish
My Dear Friend Jason, please go though the below link you will get an idea about Zoom and Magnify. http://www.highwaystech.com/index.php/source-code/ios/367-ios-magnifyingglass-for-ios.html Regards Pritish Deshmukh -- View this message in context:

[MonoTouch] CoreLocation simulator testing

2012-04-10 Thread jfoulkes
How can I set the location of the ios simulator to test projects that use CoreLocation? In xcode this is done by running the project. Then pressing the CoreLocation/navigation symbol on the debug bar next to the debug controls (pause, continue, step over etc...). You can then select preset

Re: [MonoTouch] update to MonoDevelop 2.8.8.4 makes our app crash

2012-04-10 Thread Sebastien Pouliot
IIRC there was a change made for iPad (only) applications since Apple now enforce them (when submitted to the AppStore) to use ARMv7. On Mon, Apr 9, 2012 at 11:44 PM, Conway Wieler conway.wie...@librestream.com wrote: I continued to investigate and found the problem. I just happened to notice

Re: [MonoTouch] CoreLocation simulator testing

2012-04-10 Thread Wally McClure
John, I've been using the Debug - Location option in the iOS Simulator. Is there a way to do this via MonoDevelop? Wally Date: Tue, 10 Apr 2012 04:32:16 -0700 From: john.foul...@creativelynx.co.uk To: monotouch@lists.ximian.com Subject: [MonoTouch] CoreLocation simulator testing How can

Re: [MonoTouch] CoreLocation simulator testing

2012-04-10 Thread Nic Wise
I just hard code a co-ord just after I get the callback from the CLLocationManager locationDelegate.OnLocationUpdate += delegate(CLLocation location) { CLLocationCoordinate2D coord = location.Coordinate; #if DEBUG

[MonoTouch] my app icon is now showing as a splash screen

2012-04-10 Thread Gerry High
I'm running MD 2.9.4 and MT 5.3.2 and am seeing a weird thing--if I set my App icons (via the Options dialog - iPhone Application - iPad Icons -App Icons) the icon is also displayed as a splash screen. It obviously looks very bad as it is stretched from 72x72 to full screen. If I switch to

Re: [MonoTouch] UIView.Animate() vs legacy UIView.BeginAnimations()

2012-04-10 Thread MilkyJoe
Thanks Mike. I was more referring to the /UIViewAnimationOptions.TransitionCrossDissolve/ parameter. It doesn't seem to have an impact on my code at all. Equally, if I change this to utilise a page curl, nothing happens. I was hoping to find rich MT examples of the various animation options, but

[MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread davidortinau
I'm having weirdness using DVC and was hoping someone might have seen this before. My searching here and on Stack Overflow haven't turned up any similar reports. I have an async service that returns a list which I then use Linq to add Elements to the Root (see link below). The view loads and

Re: [MonoTouch] Symbolicating crash logs

2012-04-10 Thread Michael Bayne
On Tue, Apr 10, 2012 at 1:43 PM, Michael Bayne m...@threerings.net wrote: I feel like I'm doing something wrong. I've Googled repeatedly for any useful guide to symbolicating crash logs for MonoTouch projects and come up empty handed. Can someone point me in the right direction? I found an SO

Re: [MonoTouch] PresentViewController crashes on real iPhone

2012-04-10 Thread Mg
I found the problem, even if I don't understand why it is happening. By eliminating bits of my UIViewEllipse class I narrowed it down to the override of BackgroundColor. Just subclassing UIView and adding an override for BackgroundColor is enough to reproduce the problem. The bodies of the getter

Re: [MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread davidortinau
Gist of the view and the service being called (uses RestSharp): https://gist.github.com/2355621 I'm not using ViewWillAppear. On Apr 10, 2012, at 6:30 PM, Craig Dunn [via MonoTouch] wrote: This also will happen if you navigate to a different tab and back. any chance you can post some code

Re: [MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread David Ortinau
Ok, so invoking the callback on the main thread has fixed this issue. https://gist.github.com/2355654 Is this perhaps something better done in the service, or is it best practice to do it in the view like this? On Apr 10, 2012, at 6:34 PM, davidortinau wrote: Gist of the view and the

Re: [MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread Craig Dunn
i don't see any InvokeOnMainThread ( () = { // stuff on main } ); when returning from an async op, you need to ensure any code updating the UI is running on Main... perhaps try wrapping the body of onPapersReceived? having said that, i'm not sure it explains why the table content

Re: [MonoTouch] DialogViewController displays blank until touched

2012-04-10 Thread Craig Dunn
my personal preference is to keep UI stuff together, close to the UI. in the service you might not always be modifying the UI on callback - maybe you just save to a database or something, or you conditionally modify the UI only under certain conditions. YMMV tho' On Wed, Apr 11, 2012 at 9:40 AM,

[MonoTouch] Testflight bindings v1.0?

2012-04-10 Thread dermotos
Hi, Just wondering has any created a binding for the Testflight SDK for version 1.0? (The version that removes calls to access the UUID). I'd like to use testflight in my release version to keep an eye on crashes, so will need bindings for this. Has anyone used the current release with the