Hello,
I call job.poststring("http...") to detect if server is online and if it is then I call another job to get the data. Problem is that if user start application and the server is down first job which checks if server is available takes some time to timeout. If in that time user starts another activity when timeout occures that activity gets closed and activity which started http request gets focus. How do I prevent this? And how do I set poststring timeout duration?
Thanx
I call job.poststring("http...") to detect if server is online and if it is then I call another job to get the data. Problem is that if user start application and the server is down first job which checks if server is available takes some time to timeout. If in that time user starts another activity when timeout occures that activity gets closed and activity which started http request gets focus. How do I prevent this? And how do I set poststring timeout duration?
Thanx