G K
G K

Reputation: 66

Downloading large files using ksoap2 in android from asp.net server

I am developing an app in which the user needs to download videos, pdf, and images from our server. The server response is base64binary data. I am able to download small videos but getting out of memory exception while handling large video or pdf files. I saw the post Android: out of memory exception in Gallery and Very large SOAP response - Android- out of memory error but I didn't find any solutions.

The error I am receiving is in the line.. HttpTransportSE.call(soapAction, soapEnvelope) method.

How can I tackle this situation and download the files.

Upvotes: 1

Views: 2238

Answers (1)

kinghomer
kinghomer

Reputation: 3161

I verified and tested a fix for using Soap and saving data directly as file. See link

https://stackoverflow.com/a/12732396/736196

Follow post's indications and it will work

Upvotes: 1

Related Questions