Code example for Intent

Methods: createChooser

0
	} 
 
	@Kroll.method 
	public IntentProxy createIntentChooser(IntentProxy target, String title)
	{ 
		return new IntentProxy(Intent.createChooser(target.getIntent(), title));
	} 
 
	@Kroll.getProperty(name="R") 
	public RProxy getR() { 
		if (r == null) {
			r = new RProxy(RProxy.RESOURCE_TYPE_ANDROID);
		} 
		return r;
	} 
 
	@Kroll.method 
	public void startService(IntentProxy intentProxy)
	{ 
		TiApplication app = TiApplication.getInstance();
		if (app != null) {