[MonoTouch] Webservice no internet connection

simarx kuldip at simarx.com
Fri Oct 28 07:01:26 EDT 2011


Nic Wise wrote:
> 
> It should throw an exception. Or it will time out.
> 
> Do the call in another thread, and then have yet another thread
> watching it if its a problem. You should not be doing the webservice
> call on the UI thread anyway...

Doing a web-service call onthe UI thread should be ok if you intend the app
to block during the call? i.e. where the user is carrying out an action that
requires it to complete before they move on?

I do this in my apps but I do suffer with the process hanging sometimes for
a long time and it happens inconsistently. I can't really allow them to run
on a new thread as I need the action to complete.





--
View this message in context: http://monotouch.2284126.n4.nabble.com/Webservice-no-internet-connection-tp3947219p3947508.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list