[MonoTouch] Is there a better way to copy directories and files to a project?

2011-08-05 Thread SpokaneDude
I have a solution that contains two (2) projects. One of the projects consists of existing C# source files, some having individual directories containing files, some with sub-directories containing files. Is there a better way to copy them into my solution other than individually? (the directory

[MonoTouch] OSX Lion 1.7 + MD 2.6b3 + MonoTouch 4.0.4.1 + Mono 2.10.3 = Awesome

2011-08-05 Thread dalexsoto
Yesterday I was running snow leopard with monotouch 4.0.4.1, mono 2.10.2/3, MD 2.6 b3 and had tons of crashes, I even could not debug on simulator nor on device, the debugger was returning the right ip address (after upgrading to mono 2.10.3) but it was returning 0 as port and i had no luck modifyi

[MonoTouch] Monotouch and crash reports problems

2011-08-05 Thread kentfonager
Hi everybody Unfortunately I have an app in the AppStore, thats has some random crashes. Today I digged into some of the crash reports, for unfortunately every memory adress, for the crashed thread, ends up in som mono code and functions. None of them shows lines in "my code". How do you guys han

Re: [MonoTouch] Lion: help wanted

2011-08-05 Thread MonkeyWorld
Anyone else experiencing regular crashes when just typing in UITextFields in simulator on Lion? I've tried numerous versions/combinations of Mono/MD/MonoTouch, but same in all. Also dismissing keyboard with resignfirstresponder crashes instantly. Getting SIGSEGV crash saying unable to load libr

Re: [MonoTouch] Custom Pin image

2011-08-05 Thread Jeff Stedfast
Hi Vitramir, MKAnnotationView has an Image property which you can both get and set in MonoTouch. Jeff On Tue, Aug 2, 2011 at 3:06 PM, vitramir wrote: > If I use MKAnnotationView instead MKPinAnnotationView I'll get same result > as > if I use UIView. Pin will take my image but it will lose cal

Re: [MonoTouch] Import monotouch DLL in XCODE 4

2011-08-05 Thread Jeff Stedfast
You might try reading over the solution mentioned in this forum thread: http://www.guidebee.biz/forum/viewthread.php?tid=172 Jeff On Mon, Aug 1, 2011 at 10:33 AM, josorio wrote: > Hi, I want to know if I can make a dll in monotouch using monodevelop and > then import this dll into a xcode 4 pro

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread MonkeyWorld
I'm on Mono 2.10.3 MD 2.4 MonoTouch 4.0.4.1 on Lion, and got a persistant issue with UITextFields in the simplest of apps... http://monotouch.2284126.n4.nabble.com/SIGSEGV-Crash-dyld-could-not-load-inserted-library-monotouch-fixes-dylib-tp3722121p3722121.html http://monotouch.2284126.n4.nabble.co

[MonoTouch] SIGSEGV Crash: dyld: could not load inserted library...monotouch-fixes.dylib

2011-08-05 Thread MonkeyWorld
I'm on Mono 2.10.3, MD 2.4, MonoTouch 4.0.4.1, on Lion. Getting SIGSEGV crashes regularly using iPhone Simulator when just typing into UITextFields, also a ShouldReturn delegate call to ResignFirstResponder to close keyboard crashes every time. Have tried numerous versions of Mono, MD, and Monoto

Re: [MonoTouch] which version of MD?

2011-08-05 Thread MonkeyWorld
Thank goodness, found somebody experiencing same issue as me... it's been driving me mad for days - really wish I'd not upgraded to Lion. I get frequent random crashes when typing into UITextFields and trying to ResignFirstResponder on text fields to close keyboard crashes every time - had problem

[MonoTouch] UIDocumentInteractionController CRASH

2011-08-05 Thread marconex
Hi all I have made a application to show a PDF document, I follow an internet examples but the app crashes after few milliseconds after shown the document. Below the source code: NSUrl ns = NSUrl.FromFilename(s); UIDocumentInteractionController PreviewController = UIDocumentInteractionController

[MonoTouch] PDF hyperlinks in monotouch

2011-08-05 Thread Steve Davis
I a writing an iPhone application where urls with the PDF document are required to open in a web browser when clicked/touched. I've read numerous postings in the iOS forums but have been unable to come up with a working solution. Any help would be appreciated. Regards, Steve -- View this message

Re: [MonoTouch] object not set to an instance of an object

2011-08-05 Thread scottmm
Ah, thanks for that. although a little debugging shows that my UIImage is correct and the UIImageView is still null. I have a suspicion that i am trying to access it before its been loaded in the life cycle? but i'm not sure why... -- View this message in context: http://monotouch.2284126.n4.na

[MonoTouch] object not set to an instance of an object

2011-08-05 Thread scottmm
Hi, I am trying to push a new view by the following sudocode: var vc = new viewName("image.png"); NavigationViewController.push(vc); the view loads fine, if I ignore the next lines: public override void ViewDidLoad () { UIImage cIm = UIImage.FromFile(string.Format(@"images\{0}", imageName)); vi

Re: [MonoTouch] Custom Pin image

2011-08-05 Thread vitramir
If I use MKAnnotationView instead MKPinAnnotationView I'll get same result as if I use UIView. Pin will take my image but it will lose callout. There is method setImage of class MKPinAnnotation in Objective-C... What is the replacement of it in monotouch? -- View this message in context: http://

[MonoTouch] Custom Pin image

2011-08-05 Thread vitramir
Hello, I have this code: Map.GetViewForAnnotation=delegate(MKMapView Map, NSObject annotation) { if(annotation is MKUserLocation)return null; mkaPlace PlaceAnnotation=(mkaPlace)annotation; MKPinAnnotationView Pin=new MKPinAnnotationView(PlaceAnnotation, "place"); Pin.AnimatesDrop=true; Pin.CanShow

Re: [MonoTouch] Send mail System.Net.Mail on monotouch

2011-08-05 Thread algraps
Hi, I found the problem : Gmail has certified. This is the right code: sing System.Net; using System.Net.Mail; using System.Security.Cryptography.X509Certificates; using System.Net.Security; .. MailMessage mm = new MailMessage(); mm.To.Add(new MailAddress("m...@gmail.com")); mm.From = new MailA

[MonoTouch] Import monotouch DLL in XCODE 4

2011-08-05 Thread josorio
Hi, I want to know if I can make a dll in monotouch using monodevelop and then import this dll into a xcode 4 projecto to use it. Thanks -- View this message in context: http://monotouch.2284126.n4.nabble.com/Import-monotouch-DLL-in-XCODE-4-tp3709824p3709824.html Sent from the MonoTouch mailing l

[MonoTouch] Send mail System.Net.Mail on monotouch

2011-08-05 Thread algraps
Hi, I have a problem with monotouch and with mail: I use this code to send mail : MailMessage mm = new MailMessage(); mm.To.Add(new MailAddress("alessandro.gr...@gmail.com")); mm.From = new MailAddress("alexgr...@gmail.com"); mm.Subject = "

Re: [MonoTouch] which version of MD?

2011-08-05 Thread Jeff Stedfast
Hi Wally, It's recommended that you stick with MonoDevelop 2.4.2 for iOS development as a lot of people seem to be having issues with 2.6b3. Hope that helps, Jeff On Fri, Aug 5, 2011 at 12:29 PM, Wally McClure < theevilprogram...@hotmail.com> wrote: > I just udpated to the 2.10.3 mono. I'm r

Re: [MonoTouch] Urgent help with WebClient.CancelAsync() Throwing System.Threading.ThreadInterruptedException

2011-08-05 Thread Miguel de Icaza
Hello, WebClient.DownloadDataAsync to download a file (epub) > When the download starts I actually show an AlertView to display the > progress of the download with a cancel button to give the user the > possibility to > Cancel the download (e.g. When he is on 3G and download is slow). > When the u

Re: [MonoTouch] which version of MD?

2011-08-05 Thread Peter Garner
Im running lion and I crash when I have a text box and start typing in it, Regards Peter Garner Development Hospitality Development Manager e-mail = peter.gar...@tigertms.com tel = 01425 891028 ext 228 fax = 01425 461484 web = http://www.tigerTMS.com [tigertms] From: monotouch-boun...@lists.xi

Re: [MonoTouch] Any ideas what this could be?

2011-08-05 Thread Dean Cleaver
Thanx Miguel! Dino From: Miguel de Icaza [mailto:mig...@xamarin.com] Sent: Friday, August 05, 2011 1:16 PM To: Dean Cleaver Cc: Forums, MonoTouch (monotouch@lists.ximian.com) Subject: Re: [MonoTouch] Any ideas what this could be? Hello, MonoTouch.Foundation.MonoTouchException: Objective-C excep

Re: [MonoTouch] Any ideas what this could be?

2011-08-05 Thread Miguel de Icaza
Hello, > > MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. > Name: NSInvalidArgumentException Reason: -[NSCFCharacterSet > willPresentAlertView:]: unrecognized selector sent to instance 0xf47bf0 > at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String > p

Re: [MonoTouch] MonoDevelop does not start - icon keeps dancing

2011-08-05 Thread Miguel de Icaza
Hello, I had XCode 4 installed. As integration with XCode 4 is not supported, I > removed XCode 4 and installed XCode 3. > The only thing that is not supported is the new IDE. Luckily, you can have both installed at the same time, see: http://ios.xamarin.com/Documentation/XCode4 You should hav

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Miguel de Icaza
Hello, The updater had a little bit of a problem. The last Mono that we released at Novell, 2.10.2 installed a broken updateinfo file, which prevents MonoDevelop from requesting an update. The other problem is that we had two packages: the MRE (runtime only) or the MDK (the SDK), and

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Jeff Stedfast
Hi Jon, Sadly, I am still unable to reproduce these crashes on MacOS X 10.6.8 w/ MonoDevelop 2.6b3 and MonoTouch 4.0.4.1. I am able to load iPhone/iPad projects, build, and run them in the simulator w/o any crashes. What other MonoDevelop addins do you have installed (and versions)? Perhaps it is

Re: [MonoTouch] which version of MD?

2011-08-05 Thread Dean Cleaver
Am on Lion, 2.6b3 and 2.10.3, and I have had a few crashes in MonoDevelop - even something as simple as starting it, opening a project, and trying to copy some text crashed it about 6 times in a row last night. From: monotouch-boun...@lists.ximian.com [mailto:monotouch-boun...@lists.ximian.com]

Re: [MonoTouch] which version of MD?

2011-08-05 Thread Chris van Wyk
Hi Wally, Not yet on Lion, but the MD 2.6b3 issues I had as disappeared and 2.10.3 seems fine. I am very tempted to go to Lion, so interested in other listers experience as well. Cheers Chris From: Wally McClure Date: Fri, 5 Aug 2011 12:29:06 -0400 To: Subject: [MonoTouch] which version o

Re: [MonoTouch] which version of MD?

2011-08-05 Thread Dimitris Tavlikos
Haven't done excessive tests yet, but Mono 2.10.3 with MD 2.6b3 seems ok on Lion. Just loaded and ran a few Mono, MonoAndroid, MonoTouch and MonoMac projects. I am still using Snow Leopard, Mono 2.10.2 and MD 2.6b2 for real work. Dimitris Tavlikos Software Developer Email: jimi...@gmail.com Twit

[MonoTouch] which version of MD?

2011-08-05 Thread Wally McClure
I just udpated to the 2.10.3 mono. I'm reading where people are having issues with MD 2.6b3 on twitter. What is everyone else's status with this? Anyone having issues? Wally ___ MonoTouch mailing list Mono

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Abe Gillespie
MD used to inform me of updates all the time. But I haven't seen those messages in at least 4 releases. On Fri, Aug 5, 2011 at 12:17 PM, Jeff Stedfast wrote: > I am told that MonoDevelop is supposed to notify you about MonoFramework > updates as well. I never knew. > Jeff > > On Fri, Aug 5, 2011

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Jeff Stedfast
So apparently only the Intel Mac packages have been pushed, not the PowerPC or Universal packages, which means if you had installed either of those, MonoDevelop won't see any updates yet. Another problem is that the SDK packages have been merged into 1 MDK to make things simpler, but since MonoDev

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Jeff Stedfast
I am told that MonoDevelop is supposed to notify you about MonoFramework updates as well. I never knew. Jeff On Fri, Aug 5, 2011 at 10:08 AM, Jeff Stedfast wrote: > MonoDevelop won't show you Mono updates, only addin updates. > > Jeff > ___ MonoTouch

Re: [MonoTouch] HttpWebRequest caching issue

2011-08-05 Thread Jon Hopkins
Hi, Yeah, I don't want the caching - the XML file I'm trying to retrieve isn't getting updated without an app restart. Jon Von: Jeff Stedfast [mailto:j...@xamarin.com] Gesendet: 05 August 2011 17:04 An: Jon Hopkins Cc: monotouch@lists.ximian.com Betreff: Re: [MonoTouch] HttpWebRequest

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Jon Hopkins
Hi, This was under 10.6.8 snow leopard and 2.6 beta 3 with the latest monotouch lib. It was crashing in the debugger alot, And crashed in the IDE when i moved the mouse! I rebooted and started the IDE again, and it crashed before I could Even open a project. I uninstalled the mono runtime and

Re: [MonoTouch] endEditing on UIView is available in MonoTouch?

2011-08-05 Thread Jeff Stedfast
Steott, Looks like you can ignore the whole Super thing and you apparently don't need the [Export]. Jeff On Fri, Aug 5, 2011 at 11:34 AM, Jeff Stedfast wrote: > Steott, > > Yikes! Looks like that wasn't bound. I've just added it so that it will be > there in future versions. > > For now, you

Re: [MonoTouch] endEditing on UIView is available in MonoTouch?

2011-08-05 Thread Jeff Stedfast
Steott, Yikes! Looks like that wasn't bound. I've just added it so that it will be there in future versions. For now, you should be able to do something like this: static IntPtr selEndEditing = Selector.sel_registerName ("endEditing:"); [Export ("endEditing:")] bool EndEditing (bool force) {

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Dean Cleaver
Ok - might wait till the next crash then so it's fresh in my mind - these crashes were last night. Dino From: Jeff Stedfast [mailto:j...@xamarin.com] Sent: Friday, August 05, 2011 10:07 AM To: Dean Cleaver Cc: monotouch@lists.ximian.com Subject: Re: [MonoTouch] new mono runtime crashing monodeve

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Jeff Stedfast
Sure, file them on http://bugzilla.xamarin.com and, if possible, try to provide steps on how to reproduce the problem (including which version of MonoFramework, MonoDevelop, etc). Thanks, Jeff On Fri, Aug 5, 2011 at 10:57 AM, Dean Cleaver < dean.clea...@xceptionsoftware.com> wrote: > Found the

Re: [MonoTouch] HttpWebRequest caching issue

2011-08-05 Thread Jeff Stedfast
Hi Jon, Mono's implementation of HttpWebRequest doesn't support caching. It's a feature that has never been implemented. Hope that answers your question. Jeff On Fri, Aug 5, 2011 at 8:53 AM, Jon Hopkins wrote: > Hi, > > ** ** > > Is the caching issue fixed, or is there a workaround. I foun

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Dean Cleaver
Found them - do you want one submitted as a bug? Dino From: Jeff Stedfast [mailto:j...@xamarin.com] Sent: Friday, August 05, 2011 9:55 AM To: Dean Cleaver Cc: monotouch@lists.ximian.com Subject: Re: [MonoTouch] new mono runtime crashing monodevelop Hi Dean, I'm also an Apple novice and not real

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Jeff Stedfast
Hi Dean, I'm also an Apple novice and not really a MonoDevelop developer either (I've just been assigned to try and fix Gtk+ bugs on MacOS X and it just so happens MonoDevelop is where most people are seeing crashes in Gtk+). The only place I know of to find crash logs on Apple is in the Console.a

Re: [MonoTouch] Untrappable crashes

2011-08-05 Thread Dean Cleaver
Thanx Rodrigo, I have some happen on device, some on the simulator - but once I get the crash logs from the device, what can I gather from them to debug the issue? I see the modules listed and the offset, but that doesn't help me pinpoint the code. Dino From: Rodrigo Kumpera [mailto:kump...@xa

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Dean Cleaver
Jeff, I've had several crashes too (dozen or so in the past few days). Last night, it crashed about 6 times in a row simply by me highlighting some text and hitting Command-C. Did this after a fresh reboot and all. Is there somewhere I could find the crash logs for you? I'm a complete Apple no

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Jeff Stedfast
Jon, Is this the bug you are seeing? http://bugzilla.xamarin.com/show_bug.cgi?id=198 If so, how do I reproduce it? Works fine for me on 10.6.8 and Lion. Jeff On Fri, Aug 5, 2011 at 5:07 AM, Jon Hopkins wrote: > Hi, > > The new runtime is crashing my IDE every time, cannot deploy. I sent > deta

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Jason Awbrey
If that's true, someone needs to tell Miguel... I quoth from the man himself... The next time you startup MonoDevelop, you will be notified that there is a new Mono available On Fri, Aug 5, 2011 at 9:08 AM, Jeff Stedfast wrote: > MonoDevelop won't show you Mono updates, only addin updates. >

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Wally McClure
I didn't get the update either. I checked the various channels. I just downloaded it on my own. Wally Date: Fri, 5 Aug 2011 09:05:50 -0500 From: ja...@awbrey.net To: dxdr...@gmail.com CC: monotouch@lists.ximian.com Subject: Re: [MonoTouch] Fwd: [New post] Lion Support in Mono I don't get this

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Jeff Stedfast
MonoDevelop won't show you Mono updates, only addin updates. Jeff On Aug 5, 2011 10:05 AM, "Jason Awbrey" wrote: > I don't get this listed as an update when I launch MD. I know I can > download it directly, but has anyone else had trouble with MD picking up the > new release? > > On Thu, Aug 4, 2

Re: [MonoTouch] Fwd: [New post] Lion Support in Mono

2011-08-05 Thread Jason Awbrey
I don't get this listed as an update when I launch MD. I know I can download it directly, but has anyone else had trouble with MD picking up the new release? On Thu, Aug 4, 2011 at 1:52 PM, Alex Soto wrote: > Just to let you know, a new Joy!!! For all devs thanks a lot mono crew!! > > Alex > >

[MonoTouch] HttpWebRequest caching issue

2011-08-05 Thread Jon Hopkins
Hi, Is the caching issue fixed, or is there a workaround. I found this http://stackoverflow.com/questions/4983782/monotouch-iphone-httpwebreque st-turn-off-caching after some searching but didn't get an answer. Code is HttpWebRequest request = WebRequest.Create(String.Format(U

Re: [MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Rodrigo Kumpera
Hi Jon, Feel free to either fill a bug at bugzilla.xamarin.com (it has a larger attachment limit) or email it to me, I tried to make sure 2.10.3 was rock solid for Lion. What versions of the IDE and OSX are you running on? Thanks, Rodrigo Kumpera On Fri, Aug 5, 2011 at 6:07 AM, Jon Hopkins wrot

[MonoTouch] endEditing on UIView is available in MonoTouch?

2011-08-05 Thread ste...@gmail.com
Hi all, does the UIView object in MonoTouch allows to execute endEditing? I can't see a method with this name, am I missing something? -- View this message in context: http://monotouch.2284126.n4.nabble.com/endEditing-on-UIView-is-available-in-MonoTouch-tp3720858p3720858.html Sent from the MonoTo

[MonoTouch] new mono runtime crashing monodevelop

2011-08-05 Thread Jon Hopkins
Hi, The new runtime is crashing my IDE every time, cannot deploy. I sent details already but needs Moderation because its "too big". Anyone else getting this? Jon ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/list