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

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -