RPC communication between C # and android application

I really need your helpers. I am trying to make a C # console application to communicate with an Android application (mostly java). The C # application is the main server, but I need two-way communication (both sides of the remote functions are called with a return).

Can you advise me any textbook or sample project, anything: - (

or should I use JSON-RPC? or RPC-XML? .. I'm really lost.

Edit

I am trying to call a C # function from an Android application and get a response (like Object[] ) and the same thing from Android to C #. Both devices are on the same network.

+4
source share
1 answer

Use jni4net on the server side. From an android point of view, this will be pure Java for Java RPC, server-side. You will effectively code .NET.

0
source

Source: https://habr.com/ru/post/1445587/


All Articles