我在App.net设有一个网络服务,我正在通过Ksoap图书馆获得网络服务。
It is working fine when the server is on and my webservice mode is ON. The problem is that when the server is down or the web service is not on or in off mode it will show the exception of Connection timeout.
How to check whether my service is globally accessible or not on a button click?