<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.johnfreier.com/index.php?action=history&amp;feed=atom&amp;title=Android_start_activity_for_result</id>
		<title>Android start activity for result - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.johnfreier.com/index.php?action=history&amp;feed=atom&amp;title=Android_start_activity_for_result"/>
		<link rel="alternate" type="text/html" href="http://wiki.johnfreier.com/index.php?title=Android_start_activity_for_result&amp;action=history"/>
		<updated>2026-05-20T12:57:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>http://wiki.johnfreier.com/index.php?title=Android_start_activity_for_result&amp;diff=351&amp;oldid=prev</id>
		<title>Jfreier: Created page with 'Start Activity For Result  This starts an activity and get a result from it, for example you want to create a custom input form.  You start the activity with, startActivityForRes…'</title>
		<link rel="alternate" type="text/html" href="http://wiki.johnfreier.com/index.php?title=Android_start_activity_for_result&amp;diff=351&amp;oldid=prev"/>
				<updated>2011-07-07T13:56:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;Start Activity For Result  This starts an activity and get a result from it, for example you want to create a custom input form.  You start the activity with, startActivityForRes…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Start Activity For Result&lt;br /&gt;
&lt;br /&gt;
This starts an activity and get a result from it, for example you want to create a custom input form.&lt;br /&gt;
&lt;br /&gt;
You start the activity with, startActivityForResult()&lt;br /&gt;
&lt;br /&gt;
 Intent intent = new Intent();&lt;br /&gt;
 intent.setClass(getApplicationContext(), ItemActivity.class);&lt;br /&gt;
 startActivityForResult(intent, 1);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You finish the next activity with, it will take you back to the last activity that was used to open it.&lt;br /&gt;
&lt;br /&gt;
 Intent intent=new Intent();&lt;br /&gt;
 intent.putExtra(&amp;quot;variable&amp;quot;, &amp;quot;mom&amp;quot;);&lt;br /&gt;
 setResult(RESULT_OK, intent);&lt;br /&gt;
        &lt;br /&gt;
 finish();&lt;/div&gt;</summary>
		<author><name>Jfreier</name></author>	</entry>

	</feed>