Passing value back from a called activity
<p>I am new to android programming and have the following question.</p>

<p>I have an Activity (screen) which calls another activity (screen).  I can pass values back from Activity2 by creating an intext and using putExtras.  Then when I return to my main activity1 then I can (onActivityResult) I can retrive the string value pairs from the intent that is returned.</p>

<p>Question 1 if Activity2 is finished what is the possibility that the Intent i created in there can get freed up if the garbage collector kicks in?  Or does android not clear up any memory like that until the app is exited.</p>

<p>Question 2 ) If I then go back into Activity2 and again do a "new Intent ....." is that allocating even more memory and if so is it inefficient?"</p>

<p>Question 3 - Is there a better way of passing data back from a called activity to the calling activity or is using an Intent and putExtras etc the only way?</p>

<p>Thanks 
Tony</p>
