diff --git a/.classpath b/.classpath index 14fcf527f..51011ca96 100644 --- a/.classpath +++ b/.classpath @@ -4,5 +4,6 @@ + diff --git a/src/com/loopj/android/http/BinaryHttpResponseHandler.java b/src/com/loopj/android/http/BinaryHttpResponseHandler.java index 7d675a593..c96404fb3 100644 --- a/src/com/loopj/android/http/BinaryHttpResponseHandler.java +++ b/src/com/loopj/android/http/BinaryHttpResponseHandler.java @@ -143,7 +143,7 @@ protected void handleMessage(Message msg) { switch(msg.what) { case SUCCESS_MESSAGE: response = (Object[])msg.obj; - handleSuccessMessage(((Integer) response[0]).intValue() , (byte[]) response[1]); + handleSuccessMessage(((Integer) response[0]).intValue(), response[1].toString().getBytes()); break; case FAILURE_MESSAGE: response = (Object[])msg.obj;