I want to build an application to send data from Android client to Java localhost server, then return the replay from server to client, how can i build server? and to send the data pelase?
I want to build an application to send data from Android client to Java
Share
IP, so if you are working on Emulator you have to use10.0.2.2, If you want to try it on real device using WIFI then you have to use your PC’s IP.EclipseFile -> New -> Dynamic Web Project.srcfolder, add you package -> new servlet.doPostnote
I show you how to send data using the headers of the response and request, you can use
inputstreamandoutstreamfor huge data.