Friday, April 5, 2013

Re: [android-developers] Loading Images Using HttpURLConnection Concurrently

Is it possible your carrier is silently downgrading images to save bandwidth?  Perhaps try https?


On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu <alex.fu914@gmail.com> wrote:
Hello guys,

I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated!

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment