title: How to pass integer from one Activity to another?
body: <p>I would like to pass a new value for an integer from one Activity to another.
  i.e.:</p>
  
  <p>Activity B contains an </p>
  
  <pre><code>integer[] pics = { R.drawable.1, R.drawable.2, R.drawable.3}
  </code></pre>
  
  <p>I would like activity A to pass a new value to activity B: </p>
  
  <pre><code>integer[] pics = { R.drawable.a, R.drawable.b, R.drawable.c}
  </code></pre>
  
  <p>So that somehow through </p>
  
  <pre><code>private void startSwitcher() {
      Intent myIntent = new Intent(A.this, B.class);
      startActivity(myIntent);
  }
  </code></pre>
  
  <p>I can set this integer value.</p>
  
  <p>I know this can be done somehow with a bundle, but I am not sure how I could get these values passed from Activity A to Activity B.</p>