Made the android app communicate with the server.