Hello,

>From the client side, I have exactly the same following code on Android and
in Junit test on GAE:

String mUri = "http://...";;
Client mClient = new Client(Protocol.HTTP);

Form f = new Form();
f.add("name", "value");
Representation rep = f.getWebRepresentation();

Representation txt = mClient.post(mUri, rep).getEntity();

try {
  JsonRepresentation json = new JsonRepresentation(txt);
  ...
} ...

On GAE, it is working fine (=getting the json).
On Android, I have an exception "java.lang.VerifyError:
org.restlet.ext.json.JsonRepresentation".

For information, it appears the type of "txt" is not the same:
"InputRepresentation" on GAE
"org.restlet.engine.http.StreamClientCall$SocketWrapperRepresentation" on
Android

Can someone help me ?

Thanks,
Seb.

-- 
View this message in context: 
http://n2.nabble.com/Client-Android-problem...-tp3349035p3349035.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2376556

Reply via email to