Add category to the intent

Only activities providing all of the requested categories will be used

intent.add_category(intent_category.home.to_s)

Returns self allowing fluent programming

Property definitions

android $ Intent :: add_category
	# Add category to the intent
	# Only activities providing all of the requested categories will be used
	#
	# ~~~nitish
	# # TODO better example
	# intent.add_category(intent_category.home.to_s)
	# ~~~
	# Returns `self` allowing fluent programming
	fun add_category(category: String): Intent
	do
		sys.jni_env.push_local_frame(1)
		intent.add_category(category.to_java_string)
		sys.jni_env.pop_local_frame
		return self
	end
lib/android/intent/intent_api10.nit:654,2--668,4