http request1 http request First of all, request a permission to access network, add following to your manifest:Then the easiest way is to use Apache http client bundled with Android: HttpClient httpclient = new DefaultHttpClient(); HttpResponse response = httpclient.execute(new HttpGet(URL)); StatusLine statusLine = response.getStatusLine(); if(statusLine.getStatusCode() == HttpStatus.SC_OK){ ByteArrayOutputStream out = .. 2015. 12. 15. 이전 1 다음