반응형 HttpURLConnection1 HttpURLConnection.HTTP_OK, 302 주의점 HttpURLConnection 주의점if(conn.getResponseCode() == HttpURLConnection.HTTP_OK){ String res = Integer.toString(conn.getResponseCode()); String http = Integer.toString(HttpURLConnection.HTTP_OK); Log.i(TAG,res); Log.i(TAG,http); Log.i(TAG,"doInBackground3()"); is = conn.getInputStream(); isr = new InputStreamReader(is); br = new BufferedReader(isr); while(true){ String strLine = br.readLine(); if(st.. 2017. 3. 2. 이전 1 다음 반응형