I have implemented an android program with an activity and remote service. The activity is using AIDL to communicate and interact with the service but on a same machine and know that they use IPC mechanism to communicate with each other. Now, I want to put them on separate machines and make connection between them. I’m trying to use socket to make the connection but I don’t know how I can do it. How can I start/stop and bind the service, which is running on different machine from activity? The socket is the best choice for this case or there are other better solutions? Do I need to change the Binder class on the Android OS to handle this? I’d appreciate if you could help me to find the solution.
Thanks, Ra