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.
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...