How to check an IP Address Reachable or not
<p>In my application I have checked whether ineternet connection is there using the below code</p>

<pre><code>   private boolean isNetworkAvailable() {    
             ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); 
             NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();  
             return activeNetworkInfo != null; }
</code></pre>

<p>Now the problem is that how can i check whether conncetion to one remote computer Ip is exist or not...I need to connect to an external IP webservice.....Need to check connetion to that .Suppose the link is like as given below</p>

<p><a href="http://192.168.1.158/VisionEPODWebservice/Manifest.asmx" rel="nofollow">http://192.168.1.158/VisionEPODWebservice/Manifest.asmx</a></p>
