On Fri, Aug 19, 2011 at 1:28 AM, perumal316 <perumal...@gmail.com> wrote: > I am using File Entity to get the file and subsequently do HTTP Post > as shown in the code snippet below. > > HttpClient client = new DefaultHttpClient(); > HttpPost post = new HttpPost(postURL); > FileEntity bin = new FileEntity(file, postURL); > post.setEntity(bin); > HttpResponse response = client.execute(post); > > Not sure whether this way of doing the HTTP Post is causing a crash > when the file size is too big.
That would be a question for the people who wrote HttpClient. Or, you can examine the source code for HttpClient (and stuff like FileEntity) yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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