android - Retrieving single image from the internet using multiple threads -


i have android application required download huge size images server. downloading takes long time if used sampling since sampling save memory in cases whole image should fetched server. so, need know how can create multiple threads download chunks of single resource , reorder chunks again restore image. think should use http headers control don't know how , appreciate if can help

multithreading won't increase bandwidth. download bottlenecked network speed, not processor speed. multithreading won't you.

depending on situation, try caching image, using smaller or lower res images, packaging image in app, etc.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -