title: Passing an array item to another activity, from a spinner
body: <p>Hi guys please help me here, I have a spinner that looks like this: </p>
  
  <p>On the Activity:</p>
  
  <pre><code>final Spinner cmbOpciones = (Spinner)findViewById(R.id.CmbOpciones);
  spinner_adapter = ArrayAdapter.createFromResource( this, R.array.animal , android.R.layout.simple_spinner_item);
              spinner_adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
      cmbOpciones.setAdapter(spinner_adapter);
  </code></pre>
  
  <p>On the Layout:</p>
  
  <pre><code>&lt;Spinner  android:prompt="@string/Poronga"
                     android:layout_height="wrap_content" 
                     android:layout_width="fill_parent" 
                     android:id="@+id/CmbOpciones"/&gt; 
  </code></pre>
  
  <p>With an array:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;string-array name="animal"&gt;
          &lt;item&gt;Elephant&lt;/item&gt;
          &lt;item&gt;Turtle&lt;/item&gt;
          &lt;item&gt;Rabbit&lt;/item&gt;
          &lt;item&gt;Mouse&lt;/item&gt;
      &lt;/string-array&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>How can I pass the selected item of the array on the spinner, to another activity, like in a textview or something like that? Is there a way to do this with strings? Thanks.</p>