if ( conMgr.getNetworkInfo(0).getState() == NetworkInfo.State.DISCONNECTED
|| conMgr.getNetworkInfo(1).getState() == NetworkInfo.State.DISCONNECTED ) {
//notify user you are not online
san_netcheck =true;
//Toast.makeText(getBaseContext(),"Please Check Your Internet Connection and Try Again",Toast.LENGTH_SHORT).show();
}