how does one get the total download size of an http connection?
i tried getLength() of HttpConnection class, but it only returns the content-length part of the HTTP response. I need to have a traffic counter in my app, whose download value is the same as that reported by a phone's GPRS counter.
please help. thanks.