urlConnection.setConnectTimeout(10 * 1000);
urlConnection.setReadTimeout(10 * 1000);
return urlConnection;
}
public synchronized void loadImageFromNetWithCompress(final String url, final int reqWidth, final int reqHeight, final ImageCallback callBack) {
<BUG>RequestQueue.getInstance().addReadImgCacheAsyn(new Runnable() {
</BUG>
@Override
public void run() {
HttpURLConnection urlConnection = getHttpUrlConnection(url);

urlConnection.setConnectTimeout(10 * 1000);
urlConnection.setReadTimeout(10 * 1000);
return urlConnection;
}
public synchronized void loadImageFromNetWithCompress(final String url, final int reqWidth, final int reqHeight, final ImageCallback callBack) {
ThreadPool.getInstance().addReadImgCacheAsyn(new Runnable() {
@Override
public void run() {
HttpURLConnection urlConnection = getHttpUrlConnection(url);
