Developing an android app that I wrote its java code past

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

Just create Android project in Eclipse or Android Studio (you have many tutorials about it) and use your Java code. You will have to change things that aren’t in Java on Android, probably you will have to change code for GUI / Resources access / Media.