I wrote a project in JAVA and now,I want to move this project to android environment and run it on Android. My project has 2 sections: Client and Server. Client program fragments a file and send it to Server. Server listens to a specific port and receive packet which came from client. After that the client sent file completely ,send a “finish” message to server, and then server stick these chunks together and build the first file.
This is the project that I wrote in java. Now I want to transfer this file to android, how can I do this? Please help me.