HttpContext context = new BasicHttpContext();
HttpClient client = new AdvancedHttpClient(params).getNewHttpClient(url);
HttpPost httpPost = new HttpPost(url);
httpPost.setHeader("Content-type", "application/json");
httpPost.setHeader("Accept", "application/json");
httpPost.setEntity(new StringEntity(json.toString(), "UTF-8"));
Log.d("fureun", "1");
HttpResponse response = client.execute(httpPost,context);
Log.d("fureun", "2");
int status = response.getStatusLine().getStatusCode() ;
소스코드 일부분입니다
굵게 표시한부분에서 진도가 안나갑니다.
로그 1은 출력이 되는데 굵게 표시한 부분에서 진도가 안나가고
타임아웃 시간이 경과해버립니다.
단말기와 태블릿 두가지를 이용해서 테스트하고있는데
단말기는 정상작동합니다. 태블릿에서 걸려버리네요
기존에는 정상작동 하던건데 ..
혹시 원인이 뭘지 짐작가는게 있으시면 답변좀부탁드립니다. ㅠㅠ