Code example for ProtocolException

Methods: printStackTrace

0
				} 
			} 
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (ProtocolException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} 
		return false; 
	} 
 
	public static void downloadImage(String url, ImageView imageView,
			boolean showProgress, Context context) {
		BitmapDownloaderTask task = new BitmapDownloaderTask(imageView,
				showProgress, context);
		task.execute(url);
	} 
 
	public static class BitmapDownloaderTask extends 
			AsyncTask<String, Long, Bitmap> {