private int sendImage(final String language, final String filePath, StringBuilder sb) 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();
            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));
                     }
             }
            }
            
            return response.getStatusLine().getStatusCode();
    }