upload image using httpmultipart android takes too loong
<p>Attaching my code to upload image to server. It takes more than a minute to upload and get the response. Whats the problem in this code?</p>

<pre><code>    private void sendImage(final String language, final String filePath) throws ClientProtocolException, IOException {
    final HttpClient httpclient = new DefaultHttpClient();
    final HttpPost httppost = new HttpPost(SERVICE_URL);

    final FileBody image = new FileBody(new File(filePath));

    final MultipartEntity reqEntity = new MultipartEntity();
    reqEntity.addPart(PARAM_IMAGE, image);
    reqEntity.addPart(PARAM_LANGUAGE, new StringBody(language));
    reqEntity.addPart(PARAM_APIKEY, new StringBody(getApiKey()));
    httppost.setEntity(reqEntity);

    final HttpResponse response = httpclient.execute(httppost);
    final HttpEntity resEntity = response.getEntity();
    final StringBuilder sb = new StringBuilder();
    if (resEntity != null) {
        final InputStream stream = resEntity.getContent();
        byte bytes[] = new byte[4096];
        int numBytes;
        while ((numBytes=stream.read(bytes))!=-1) {
            if (numBytes!=0) {
                sb.append(new String(bytes, 0, numBytes));
            }
        }
    }
</code></pre>
