1

I found many examples on Stack Overflow and I just don't know where to start since I have a particular prerequisite:

My Delphi Datasnap Rest server is using ZLibCompression and RSA encryption (in TTransportFilterCollection of DSHTTPWebDispatcher). Is there an Android restful API that can handle those? Any sample that already implements that?

I found this thread Android REST client, Sample? as a good starting point, both lightweight and well-formed clients are presented but is it enough for me?

Thanks in advance for any hint, sample or library that you could point me to.

4

2 に答える 2

1

you can use the Android Rest-Client for sending data to a webservice

see my answer in the post Adding body of call to POST using HttpURLConnection

于 2012-07-05T07:47:29.667 に答える
0

I just used the proxy generator from Danasnap server TDSProxyGenerator component (http://yourserver:port/proxy/java_android.zip) and added this code to my android project...

I had to search for the DSRESTSSLFactory.java file that is not generated by the proxy (but required !!), i found it in a demo from embarcadero, and from that point the communication is entirely handled, all accessible procedures are publicated, and really really simple to use...

于 2012-07-11T09:14:44.403 に答える