Tuesday, October 13, 2015

How to send a File to Server in android programming




This is an easy Android application which allows to send a file in any format to a remote server. Server acts as loacalhost and create a button in a linear layout and the oprationvwill taking places in the android app is on button press. It will allows to send a file to server.There are mainly 4  portions for this operations. First one is an input device, which is an android device who send file to the server :- easyClientActivity.java.

easyClientActivity.java has the code for sending file. next one is main.xml, which creates the layout and user interface for the application. 3rd one is AndroidManifest.xml , it has the codes for some permission for using the network operations. main.java is the 4th module which comprises the code for server portion, allows to recieve the file.



easyClientActivity.java

   



Main.Xml
   
AndroidManifest.xml
   

main.java
   


Tags:-send a File to Server ,send a File to Server android,send a File to Server android , android tricks, android file management, android coding,android network programming

No comments:

Post a Comment