Code example for WebView: Displaying web pages

Methods: getSettingsloadUrlsetPictureListener

0
				  GotData = false;
				} 
				   
			} 
		}; 
		w.setPictureListener(mPic);
         
//        w.setWebViewClient(new WebViewClient() { 
//            public void onPageFinished(WebView webview, String url) { 
//                
// 
//                Log.d("Height", "" + picture.getHeight()); 
//                Log.d("Width", "" + picture.getWidth()); 
//               
 
//                
//                Canvas c = new Canvas(b); 
//                picture.draw(c); 
//                b.compress(CompressFormat.JPEG, 100, mStream); 
//                mImageView.setImageBitmap(b); 
//            } 
//        }); 
         
        
         
        w.getSettings().setJavaScriptEnabled(true);
       // w.setVisibility(View.INVISIBLE); 
       
        w.loadUrl("http://cardflick-dev.heroku.com/themes/metropolis/view/155");
        
         
       
    }