There are plenty of examples of socket transactions for java around. http://www.rgagnon.com/javadetails/java-0542.html
First hit with a google search is pretty good. On May 5, 11:09 pm, "guishenl...@gmail.com" <guishenl...@gmail.com> wrote: > Hi all, > I want to send a file from the Android phone to a server by > socket.Could anyone give me some example code about how to do it? > Thank you in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---