Code example for ImageView

Methods: setImageURI

0
					videoView.setVideoURI(Uri.parse(new File(video
							.getVideoFilePath()).toString()));
					videoView.start();
					imageViewThumb.setImageURI(Uri.parse(new File(video
							.getThumbnailPath()).toString()));
					imageViewThumbSmall.setImageURI(Uri.parse(new File(video
							.getThumbnailSmallPath()).toString()));
				} 
			} 
		}); 
	} 
 
	@Override 
	public void onError(final String reason) {
		runOnUiThread(new Runnable() {
 
			@Override 
			public void run() { 
				pbar.setVisibility(View.GONE);
				Toast.makeText(VideoChooserActivity.this, reason,
						Toast.LENGTH_LONG).show();