Hello
I am testing my app to see what happens if I am making an http request and the data connection fails. Simply I turn off the wifi connection and run the process. When I run the request with no wifi I get the Unfortunately app has stopped message. I have put a try/end try around the code to see where it errors but it does not trap it. I am running in release mode too when I turn off my wifi. Of course I am checking for a connection before I run this process but I want to make sure the app doesn't crash if connection fails after the check..
Can anyone advise?
Many thanks,
Derek.
I am testing my app to see what happens if I am making an http request and the data connection fails. Simply I turn off the wifi connection and run the process. When I run the request with no wifi I get the Unfortunately app has stopped message. I have put a try/end try around the code to see where it errors but it does not trap it. I am running in release mode too when I turn off my wifi. Of course I am checking for a connection before I run this process but I want to make sure the app doesn't crash if connection fails after the check..
Can anyone advise?
Many thanks,
Derek.