HTTPResonse Time Out

view full story

http://stackoverflow.com – I have a scenario in which i am sending requesting using Device WiFi. In this scenario WiFi is connected but WiFi further is not connected to internet and in this case i send HTTP request but the response of HTTPResonse is very slow in this case. It works fine when devices is connected to WiFi and WiFi is connected to Internet. I need to Reduce the response time in the 1st scenario code for request is following public String[] doHttpGetWithCode(String url, HashMap<String, String> headerParam) throws Exception { String[] result = new String[2]; HttpGet httpget = new HttpGet(url (HowTos)