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
On Thursday, August 18, 2011 2:30:43 AM UTC-4, perumal316 wrote:
I checked the logcat, it is showing:
ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main
ERROR/AndroidRuntime(10335): java.lang.NullPointerException
You need to look through the next series of lines for a Caused by and then
On Thursday, August 18, 2011 2:30:43 AM UTC-4, perumal316 wrote:
I checked the logcat, it is showing:
ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main
ERROR/AndroidRuntime(10335): java.lang.NullPointerException
You need to look through the next series of lines for a Caused by after
10mb? Have you tried zipping it before posting? Depending on the content
you could reduce the data size dramatically
Regards,Sy
On 19 Aug 2011 21:03, Chris Stratton cs07...@gmail.com wrote:
On Thursday, August 18, 2011 2:30:43 AM UTC-4, perumal316 wrote:
I checked the logcat, it is
Post the full logcat trace.
Make sure you're not doing any network operations in the UI thread.
Google 'java multi-part upload' for tips on how to chunk the upload.
On Fri, Aug 19, 2011 at 2:26 PM, Simon Platten
simonaplat...@googlemail.com wrote:
10mb? Have you tried zipping it before posting?
Hi Murphy,
I checked the logcat, it is showing:
ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main
ERROR/AndroidRuntime(10335): java.lang.NullPointerException
But the issue is, this crash is only occurring when I do HTTP Post of
a large file (10 MB).
Is it a Android limitation? Anyone
On Thu, Aug 18, 2011 at 2:30 AM, perumal316 perumal...@gmail.com wrote:
I checked the logcat, it is showing:
ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main
ERROR/AndroidRuntime(10335): java.lang.NullPointerException
But the issue is, this crash is only occurring when I do HTTP Post of
a
Hi Murphy,
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 =
8 matches
Mail list logo