webserver - Connecting Android application to HTTP Server -
I create an application for user registration. When the user registers into the application, I want to save user data on an HTTP server. How can you do this?
You can store data on the remote server using networking. File
For example, fileToUpload.txt "); HttpRequest request = new HttpRequest (" http: / / / Host / some_path "); Part [] parts = {new stringpart (" param_name "," value "), new file page (f.getName (), f)}; FilePost.setEntity (new multilateral request (parts, file Post tag) ()); HTTP client client = new HTTP client (); Int stat = client.executeMethod (filePost);
Comments
Post a Comment