[android-developers] Re: httpclient multipart form upload

2009-08-04 Thread cocoaghost
Thanks for the shortcut. On Jul 31, 4:18 pm, Julien Dupouy wrote: > Hey, > > Instead of including the jars files you can use the http multipart > classes defined in android but declared as internal, so you cannot use > them directly, you have to download them from the android source code > (http

[android-developers] Re: httpclient multipart form upload

2009-07-31 Thread Julien Dupouy
Hey, Instead of including the jars files you can use the http multipart classes defined in android but declared as internal, so you cannot use them directly, you have to download them from the android source code (http://android.git.kernel.org/?p=platform/frameworks/ base.git;a=tree;f=core/java/c

[android-developers] Re: httpclient multipart form upload

2009-07-14 Thread John Smith
2009/7/14 jottos > > So, figured this out, and you were not too far from the answer. > Our router was hanging up the requests that were going outbound and > then back into our internal staging server. > No idea why, but once we understood that and pointed the app at an > external server, or used

[android-developers] Re: httpclient multipart form upload

2009-07-14 Thread jottos
So, figured this out, and you were not too far from the answer. Our router was hanging up the requests that were going outbound and then back into our internal staging server. No idea why, but once we understood that and pointed the app at an external server, or used cellular connections everythin

[android-developers] Re: httpclient multipart form upload

2009-07-13 Thread John Smith
2009/7/13 jottos > Is there any setup android requires to make a post/multipart file > upload work that you didn't specify in your example? > On Jun 26, 8:53 pm, Delta Foxtrot wrote: > Nope I copied the code from an actual application I have working, the difference might be the servers we're co

[android-developers] Re: httpclient multipart form upload

2009-07-13 Thread jottos
Hey Delta Foxtrot, I agree with you on rolling your own. I've got a multipart form upload class that populates form and uploads data (in this case picture), however in android this code just doesn't work. It works every time from any other java client - never fails, but on android, it looks like

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread Delta Foxtrot
As I said, multipart uploads aren't hard to do your own function for. private void UploadFile(String FileName) { try { String lineEnd = "\r\n"; String twoHyphens = "--"; String boundary = "*MyMultiPartBoundary"; File sdcard = Environment.getExt

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread slk
Hi Urs, Download HttpClient binary from here: http://hc.apache.org/downloads.cgi ; be sure to download the distribution under the heading 'binary with distribution'. After extracting, you will find a number of jars in the lib folder. saad On Jun 10, 9:08 am, Urs Grob wrote: > Yes, I also could

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread slk
http://www.mirrorservice.org/sites/ftp.apache.org/httpcomponents/httpclient/binary/httpcomponents-client-4.0-beta2-bin-with-dependencies.tar.gz Extract and the lib folder contains all relevant jars, regards, saad On Jun 10, 9:08 am, Urs Grob wrote: > Yes, I also couldn't find the jars for httpmi

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread Delta Foxtrot
2009/6/26 gard > > I got my jars from: > > http://hc.apache.org/downloads.cgi > > The dependencies are included in the "Binary with dependencies" > download. > > regards, > > gard > > On 10 Jun, 10:08, Urs Grob wrote: > > Yes, I also couldn't find the jars for httpmime. I just created a jar > fr

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread gard
I got my jars from: http://hc.apache.org/downloads.cgi The dependencies are included in the "Binary with dependencies" download. regards, gard On 10 Jun, 10:08, Urs Grob wrote: > Yes, I also couldn't find the jars for httpmime. I just created a jar from > the sources and included that in the

[android-developers] Re: httpclient multipart form upload

2009-06-10 Thread Urs Grob
Yes, I also couldn't find the jars for httpmime. I just created a jar from the sources and included that in the project. If anybody knows of some official jar, then I'd also like to know where I could get it (also to stay up to date) Thanks -- Urs On Wed, Jun 10, 2009 at 3:43 AM, Jason Proctor w

[android-developers] Re: httpclient multipart form upload

2009-06-09 Thread Jason Proctor
a kind soul has forwarded the jars on. community rules. -- jason.software.particle --~--~-~--~~~---~--~~ 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

[android-developers] Re: httpclient multipart form upload

2009-06-09 Thread Jason Proctor
Urs Grob wrote -- HttpClient 4 doesn't have that included anymore. The upstream project didn't integrate it from the 3.x client. I had to do exactly the same today. Basically I solved it by including some additional jars: mime4j httpmime This question was already on the list and there's some bett

[android-developers] Re: httpclient multipart form upload

2009-06-04 Thread Urs Grob
HttpClient 4 doesn't have that included anymore. The upstream project didn't integrate it from the 3.x client. I had to do exactly the same today. Basically I solved it by including some additional jars: mime4j httpmime This question was already on the list and there's some better explanation: