- else if(message != null && callback != null)
- callback.onResult(conn.getResponseCode(), message,
- toNonNull(conn.getInputStream()));
+ else if(message != null && callback != null){
+ if(message.charAt(message.length()-1) == ')')//message is (something)
+ message=message.substring(1, message.length()-1);
+ else if(message.charAt(0) == '(')//message is (something) something else
+ message=message.substring(message.indexOf(')')+2);
+ callback.onResult(conn.getResponseCode(), message, conn.getResponseCode() == 200 ? conn.getInputStream() : null);
+ }