Code example for URI

Methods: toString

0
		this.activity = activity;
	} 
	 
	@Override 
	public void open(URI uri) {
		open(uri.toString());
	} 
 
	@Override 
	public void open(String url) {
		Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
		activity.startActivity(i);
		if (logger.isDebugEnabled()) 
			logger.debug("Starting intent to open URL " + url);
	} 
}