Hello Stephane, at this time, the internal client connector does not work with the Android plate-form (see this issue [0]. But you can still use the "net" extension: - add the org.restlet.ext.net.jar archive (of the Android edition) to your project - register manually (this will be fixed for the 2.0 final release) this connector: + import the org.restlet.ext.net.HttpClientHelper class (in your activity, for example) + Add the following code that registers the connector Engine.getInstance().getRegisteredClients().clear(); // Add the "net" client connector Engine.getInstance().getRegisteredClients().add(new HttpClientHelper(new Client(Protocol.HTTP)));
Note that should be done once. Please let us know if it still does not solve the issue at the Restlet discussion list (see [1]). That is 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 and Restlet 2.0. > > I try to use the tool Restlet to make GET and POST requests to a > server. Restlet librairies 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

