Andreas
Thu, 18 Mar 2010 14:43:20 -0700
Hi, What you want to do is to open a HttpURLConnection to the URL specified, and then open an OuputStream towards that connection. Then you open an InputStream from the File you want to send, and transfer the data from the File InputStream to the Http OutputStream. Easy as π ;)
Andreas On Mar 17, 1:45 am, KC Dev Android 06 <kc.dev.android...@googlemail.com> wrote: > Hi, as the title says, is it possible to do so? in the examples found > herehttp://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.... > > It seems that HttpClient only accepts a String as its parameter? how > do i go about sending/uploading a xml file using http? > > thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.