Well, I'm making progress. My original code failed to expand the Android R
resource id's into actual strings. So my URL was horribly mangled. I fixed
that.
But I still see this exception when connecting over https:
Caused by: Internal Connector Error (1002) - No available client connector
supports the required protocol: 'HTTPS'. Please add the JAR of a matching
connector to your classpath.
at
org.restlet.resource.ClientResource.doError(ClientResource.java:612)
at
org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1202)
at
org.restlet.resource.ClientResource.handle(ClientResource.java:1026)
at
org.restlet.resource.ClientResource.handle(ClientResource.java:968)
at org.restlet.resource.ClientResource.get(ClientResource.java:680)
at
com.homosuperiorus.clips.clients.TransmitsClient.getTransmits(TransmitsClient.java:27)
at
com.homosuperiorus.clips.models.TransmitsSource.getTransmits(TransmitsSource.java:38)
at
com.homosuperiorus.clips.fragment.ClipsListFragment$GetTransmitsTask.doInBackground(ClipsListFragment.java:93)
at
com.homosuperiorus.clips.fragment.ClipsListFragment$GetTransmitsTask.doInBackground(ClipsListFragment.java:83)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Here is my latest dependency list:
dependencies {
compile group: 'com.google.android', name: 'support-v4', version: 'r7'
compile group: 'com.google.code.gson', name: 'gson', version: '2.2.4'
compile group: 'joda-time', name: 'joda-time', version: "2.3"
compile group: "org.restlet.android", name: "org.restlet", version:
versions.restlet
compile group: "org.restlet.android", name: "org.restlet.ext.jackson",
version: versions.restlet
compile group: "org.restlet.android", name: "org.restlet.ext.net", version:
versions.restlet
}
Anybody?
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3071495