Code example for Intent

Methods: getFlags

0
	} 
 
	@Kroll.getProperty @Kroll.method 
	public int getFlags() 
	{ 
		return intent.getFlags();
	} 
 
	@Kroll.method 
	public void putExtraUri(String key, String uri)
	{ 
		intent.putExtra(key, Uri.parse(uri));
	} 
 
	@Kroll.method 
	public void addCategory(String category)
	{ 
		if (category != null) {
			Log.d(TAG, "Adding category: " + category, Log.DEBUG_MODE);
			intent.addCategory(category);
		}