Re: [MonoTouch] Wrong IP Address

2011-07-31 Thread Greg
Right I have found the source of the IP Address it is showing as VNIC01 but I
cannot find how to make monodevelop not use this and only use my real ip
address.

I have added the HostIP Property to both of the monodevelopproperties files
(one in the ~/config/monodevelop folder and ~/config/monodevelop-2.6 folder
but it still does not get picked up by monodevelop.

Is there anyway to force Monodevelop to use a specific address at the moment
or is this a bug. Otherwise how can I get it to pick up the right adapter
and not try to use the virtual one?

I believe that the virtual one would have been installed by parallels. 

Thanks

Greg

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3707794.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

2011-07-31 Thread Anita V.
That doesn't help :( This is driving me crazy, I don't understand why it's
not working. 

If I set

_mail.ModalTransitionStyle = UIModalTransitionStyle.CrossDissolve;

, then when I press my mail button, the view dissolves back into its
superview. So, instead of displaying the mail view,
PresentModalViewController just removes the current view from its superview.

Does anyone have any idea why this might be?

Thanks,
Anita

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Trouble-sending-mail-from-within-my-app-tp3706782p3707809.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

2011-07-31 Thread Dimitris Tavlikos
It does not help in your case, but you still have not reached the point where 
it will cause a problem, since your mail controller is not yet presented.

However, Mike is right, you surely need to declare your mail controller as a 
class variable. You will get a crash when the runtime will try to call your 
HandleMailFinished handler.

Now, the only thing that I suspect could cause this kind of behavior is if you 
are doing something in your controller's ViewWillDisappear method. Have you 
implemented this, removing any views perhaps in it? Presenting a modal view 
controller causes the "parent" controller's ViewWillDisappear method to be 
called. If not, I cannot think of something else that would cause this behavior.

Dimitris Tavlikos
Software Developer
Email: jimi...@gmail.com
Twitter: http://twitter.com/#!/dtavlikos
Blog: http://software.tavlikos.com






On Jul 31, 2011, at 5:02 PM, Anita V. wrote:

> That doesn't help :( This is driving me crazy, I don't understand why it's
> not working. 
> 
> If I set
> 
> _mail.ModalTransitionStyle = UIModalTransitionStyle.CrossDissolve;
> 
> , then when I press my mail button, the view dissolves back into its
> superview. So, instead of displaying the mail view,
> PresentModalViewController just removes the current view from its superview.
> 
> Does anyone have any idea why this might be?
> 
> Thanks,
> Anita
> 
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Trouble-sending-mail-from-within-my-app-tp3706782p3707809.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


Re: [MonoTouch] Wrong IP Address

2011-07-31 Thread Jeff Stedfast
Hi Greg,

It pains me to watch you suffer through this but unfortunately I do not know
how to work around this with the current releases of MonoDevelop and
MonoTouch.

Fortunately, MonoTouch 4.1 will allow manual overrides of the IP address for
the debugger to connect to by adding IP addresses (yes, plural) to try in
a MonoTouchDebugConfiguration.txt file which will get bundled with the debug
version of the app.

I believe the plan is also to add a UI to MonoDevelop to specify this list
of IPs for the device to try and connect to (at least, I hope that's our
plan...).

I know that a future release does nothing to solve your problem right now,
but I hope it will at least be comforting to know that this issue is on our
radar and is a top priority.

Jeff

On Sun, Jul 31, 2011 at 9:55 AM, Greg  wrote:

> Right I have found the source of the IP Address it is showing as VNIC01 but
> I
> cannot find how to make monodevelop not use this and only use my real ip
> address.
>
> I have added the HostIP Property to both of the monodevelopproperties files
> (one in the ~/config/monodevelop folder and ~/config/monodevelop-2.6 folder
> but it still does not get picked up by monodevelop.
>
> Is there anyway to force Monodevelop to use a specific address at the
> moment
> or is this a bug. Otherwise how can I get it to pick up the right adapter
> and not try to use the virtual one?
>
> I believe that the virtual one would have been installed by parallels.
>
> Thanks
>
> Greg
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3707794.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


Re: [MonoTouch] Wrong IP Address

2011-07-31 Thread Karl Heinz Brehme Arredondo
Maybe useless but in the beginning I had problems with IP where MonoDevelop
tried to connect to invalid IP.

Since I followed the tip to change xml file configuration on Mac and since I
reserved the MacBook IP address and iPad address on the wifi router, then I
nevermore had troubles. Just folowing the fixed tip on XML configuration
file din't helped because the router sometimes change IPs and with fixed
rerved IPs all became OK.

Karl 

From:  Jeff Stedfast 
Date:  Sun, 31 Jul 2011 11:41:29 -0400
To:  Greg 
Cc:  "monotouch@lists.ximian.com" 
Subject:  Re: [MonoTouch] Wrong IP Address

Hi Greg,

It pains me to watch you suffer through this but unfortunately I do not know
how to work around this with the current releases of MonoDevelop and
MonoTouch.

Fortunately, MonoTouch 4.1 will allow manual overrides of the IP address for
the debugger to connect to by adding IP addresses (yes, plural) to try in a
MonoTouchDebugConfiguration.txt file which will get bundled with the debug
version of the app.

I believe the plan is also to add a UI to MonoDevelop to specify this list
of IPs for the device to try and connect to (at least, I hope that's our
plan...).

I know that a future release does nothing to solve your problem right now,
but I hope it will at least be comforting to know that this issue is on our
radar and is a top priority.

Jeff

On Sun, Jul 31, 2011 at 9:55 AM, Greg  wrote:
> Right I have found the source of the IP Address it is showing as VNIC01 but I
> cannot find how to make monodevelop not use this and only use my real ip
> address.
> 
> I have added the HostIP Property to both of the monodevelopproperties files
> (one in the ~/config/monodevelop folder and ~/config/monodevelop-2.6 folder
> but it still does not get picked up by monodevelop.
> 
> Is there anyway to force Monodevelop to use a specific address at the moment
> or is this a bug. Otherwise how can I get it to pick up the right adapter
> and not try to use the virtual one?
> 
> I believe that the virtual one would have been installed by parallels.
> 
> Thanks
> 
> Greg
> 
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3707794.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

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch