Code example for WebView

Methods: clearView

0
	private class grapher extends AsyncTask<Void, String[], Void> {
 
		@Override 
		protected void onPreExecute() { 
			super.onPreExecute(); 
			www.clearView();
			pagecontent = "Error.";
		} 
 
		@Override 
		protected Void doInBackground(Void... arg0) {
 
			String username = prefs.getString("login", ""), password = prefs
					.getString("password", "");
			Log.v("Credentials :", username + "/" + password);
 
			Connection.Response res = null; 
			Document doc = null;
 
			try { 
				res = Jsoup