Sending file > 1MB using HTTP POST
问题 I'm sending video and audio files from my Android application to Wampserver , some of these can get quite large and I tend to get OutofMemory issues when the file is approximately over 1MB in size. I convert each file individually into a byte stream. I think the byte stream is too large hence the OutofMemory . How can I stop this error from occurring? 回答1: Using the link Maxium suggested here: Uploading files to HTTP server using POST on Android. I then found this Out of Memory error in