     mWebView. setDownloadListener (
			new DownloadListener ()
			{
				public void
				onDownloadStart ( String url ,
								 String userAgent , String
								 contentDisposition , String
								 mimetype , long contentLength )
				{
//download file using
					 Intent i = new Intent (
						Intent . ACTION_VIEW );
					i . setData( Uri . parse ( url )
								);
					startActivity ( i );
				}
			});