Code example for Intent

Methods: putExtrasetClass

0
	} 
 
	private boolean shouldHandleMimeType(String mimeType, String url)
	{ 
		if (mimeType.startsWith("video/")) {
			Intent intent = new Intent();
			intent.setClass(webView.getProxy().getActivity(), TiVideoActivity.class);
			intent.putExtra("contentURL", url);
			intent.putExtra("play", true);
			webView.getProxy().getActivity().startActivity(intent);
			 
			return true; 
		} 
		return false; 
	} 
 
	@Override 
	public void onReceivedHttpAuthRequest(WebView view,
			HttpAuthHandler handler, String host, String realm)
	{