Code example for ClientProtocolException

Methods: printStackTrace

0
 
					inputstream.close();
 
				} 
			} catch (ClientProtocolException e) {
				e.printStackTrace();
			} catch (IOException e) {
				e.printStackTrace();
			} 
 
			return null; 
		} 
 
		protected void onProgressUpdate(String... textToDisplay) {
			textview.setText(textToDisplay[0]);
		} 
 
		protected void onPostExecute(Void result) {
			if (videoUrl != null) {
				Intent viewVideoIntent = new Intent(Intent.ACTION_VIEW);
				Uri uri = Uri.parse("http://blip.tv/file/get/" + videoUrl);