[android-developers] Re: out of memory exception on transferring large file to DataOutputStream

2009-04-30 Thread zeeshan
I used httpclient but i got 411 error code! i am desperately looking for any solution to avoid buffering for my audio streams. any help would be appreciated On Apr 29, 12:39 pm, zeeshan genx...@gmail.com wrote: Hi Mike, thanks for the reply. this link is very helpfull but my problem is

[android-developers] Re: out of memory exception on transferring large file to DataOutputStream

2009-04-29 Thread zeeshan
Hi Mike, thanks for the reply. this link is very helpfull but my problem is still there, i need to use HttpURLConnection as above and post it without buffering; i dont know the length of my stream. i tried conn.setChunkedStreamingMode(1024*4); now it doesn't buffer but unable to post. please

[android-developers] Re: out of memory exception on transferring large file to DataOutputStream

2009-04-28 Thread Mike Baroukh
Maybe you could try using httpclient ? haven't tried myself but using chunked request, the output will not be buffered. for exemple, cf http://www.java-tips.org/other-api-tips/httpclient/how-to-use-unbuffered-chunk-encoded-post-re.html Mike zeeshan a écrit : Hi Experts, I need to post