I have a class library containing approximately 10 dlls written in C # 3.0 / .NET 3.5. The library API provides access to my product running on a remote server. Communication is done using TCP sockets.
I am looking for a way to write a client application for android / Linux in java. The problem is that the API is quite large, and converting it from C # to java can take a lot of resources and time. Trying to avoid conversion.
Can anyone think of how to achieve a working android client that uses the C # API without having to embed it in the client? The idea is to force the web service to do all the work with the main API and access it from java, the problem is that the TCP connection to the server must be open at any time, and the web service solution has no status . Maybe a way to use a web service with a permanent connection (is there such a thing?). Any creative ideas?
source
share