@Override protected Bitmap doInBackground(String... params) { Log.i("Contact", "sdf"); Bitmap bitmap = null; String username = params[0]; bitmap = loadProfileImageWithVCard(username); if (bitmap != null) { profilePicCache.put(username, new SoftReference<Bitmap>(bitmap)); BitmapUtil.saveBitmapToLocal(pathName, bitmap); } return bitmap; }