Re: [MonoTouch] Wrong IP Address
IPhone IP : 192.168.37.11 MBP: 192.168.37.12 Debugger trying to connect to : 10.211.55.2 Just dont know how or where the debugger is getting this address. Thanks Greg -- View this message in context: http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3706039.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Wrong IP Address
On 30.07.2011 11:10, Greg wrote: IPhone IP : 192.168.37.11 MBP: 192.168.37.12 Debugger trying to connect to : 10.211.55.2 Just dont know how or where the debugger is getting this address. Did you recompile and redeploy the app after each change of the network settings? The IP is burnt in the app at compile time. Robert ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Wrong IP Address
Have you got virtual network adaptors on your MBP? e.g. VirtualBox or similar? Chris -Original Message- From: monotouch-boun...@lists.ximian.com [mailto:monotouch-boun...@lists.ximian.com] On Behalf Of Robert Jordan Sent: 30 July 2011 10:32 To: monotouch@lists.ximian.com Subject: Re: [MonoTouch] Wrong IP Address On 30.07.2011 11:10, Greg wrote: IPhone IP : 192.168.37.11 MBP: 192.168.37.12 Debugger trying to connect to : 10.211.55.2 Just dont know how or where the debugger is getting this address. Did you recompile and redeploy the app after each change of the network settings? The IP is burnt in the app at compile time. Robert ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Wrong IP Address
Nope nothing like this at all, just the OSX (Lion) and the wifi and the iphone. Which makes this annoying. Thanks for your help Greg -- View this message in context: http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3706636.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
[MonoTouch] Trouble sending mail from within my app
Hi, I am trying to allow the user to send mail from within my app. Whenever I run this code, my app just removes the current view from its superview. I don't understand why! Here is the code I am using, within my view controller: public void MailButtonTouched() { if(!MFMailComposeViewController.CanSendMail) { // display error } else { MFMailComposeViewController mail = new MFMailComposeViewController(); mail.SetSubject(testing); mail.SetMessageBody(testing, true); mail.Finished += HandleMailFinished; this.PresentModalViewController(mail, true); } } void HandleMailFinished (object sender, MFComposeResultEventArgs e) { if (e.Result == MFMailComposeResult.Sent) { UIAlertView alert = new UIAlertView (Mail Alert, Mail Sent, null, Yippie, null); alert.Show (); // handle other values } e.Controller.DismissModalViewControllerAnimated (true); } Any help would be very much appreciated! Thanks, Anita -- View this message in context: http://monotouch.2284126.n4.nabble.com/Trouble-sending-mail-from-within-my-app-tp3706782p3706782.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Trouble sending mail from within my app
Try making your MFMailComposeViewController a class variable. On Sat, Jul 30, 2011 at 4:06 PM, Anita V. bluuema...@gmail.com wrote: Hi, I am trying to allow the user to send mail from within my app. Whenever I run this code, my app just removes the current view from its superview. I don't understand why! Here is the code I am using, within my view controller: public void MailButtonTouched() { if(!MFMailComposeViewController.CanSendMail) { // display error } else { MFMailComposeViewController mail = new MFMailComposeViewController(); mail.SetSubject(testing); mail.SetMessageBody(testing, true); mail.Finished += HandleMailFinished; this.PresentModalViewController(mail, true); } } void HandleMailFinished (object sender, MFComposeResultEventArgs e) { if (e.Result == MFMailComposeResult.Sent) { UIAlertView alert = new UIAlertView (Mail Alert, Mail Sent, null, Yippie, null); alert.Show (); // handle other values } e.Controller.DismissModalViewControllerAnimated (true); } Any help would be very much appreciated! Thanks, Anita -- View this message in context: http://monotouch.2284126.n4.nabble.com/Trouble-sending-mail-from-within-my-app-tp3706782p3706782.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch