Hello Stephane, the internal client connector does not work with Android (see this issue [0]). As a workaround, you can use the "net" extension. That is to say, add the org.restlet.ext.net.jar archive (taken from the android edition for Restlet) to your project, then manually register the extension (which won't be required for final 2.0), for example on your activity: - add import of org.restlet.ext.net.HttpClientHelper - add the following lines :
Engine.getInstance().getRegisteredClients().clear(); // Add the "net" client connector Engine.getInstance().getRegisteredClients().add(new HttpClientHelper(new Client(Protocol.HTTP))); Let us know if you still encounter errors to the Restlet discussion list ([1]), that's a little bit easier for us. Best regards, Thierry Boileau [0] http://restlet.tigris.org/issues/show_bug.cgi?id=304 [1] http://restlet.tigris.org/ds/viewForumSummary.do?dsForumId=4447 > Hello guys, > > I use Android 2.0 andRestlet2.0. > > I try to use the toolRestletto make GET and POST requests to a > server.Restletlibrairies needed were imported to the project. The > imports are correctly validated by Eclipse. > > Unfortunately at compile and launch of the Android application on the > emulator, it does not work and an error 'Internal Connector Error - No > available client connector supports" appears (in a not-Android projet, > it works fine). > > I tried to add to the root folder of my project a "lib" folder and to > copy the necessary libraries directly inside but it changes nothing. > > Has someone a solution to this problem? > > Thank you for help! > > Stephane -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

