title: Android how to handle app crashing when cyber-roam disconnected
body: <p>I am using volley jar to get data from web-service. As my WiFi- connection having Cyber-roam setting. Whenever cyber-roam is connected with mobile all are working good, as soon as cyber-roam disconnected after sometime, app crashes while calling web-service. </p>
  
  <p>I am getting following response - </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;HTML&gt;&lt;HEAD&gt;
  &lt;meta http-equiv=pragma content=nocache&gt;
  &lt;META HTTP-EQUIV=Expires CONTENT=-1&gt;
  &lt;SCRIPT&gt;
  location.href="http://172.16.16.16:8090/httpclient.html"
  &lt;/SCRIPT&gt;
  &lt;/HEAD&gt;&lt;BODY&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am also using BroadcastReceiver to check internet is connected or not. But it not help me.
  It only showing toast message when, Wifi or mobile data on/off. Help me and Thanks in Advance</p>