coppying Interger Array to next activity
<p>I have <br></p>

<pre><code>Integer[] mainArray;
</code></pre>

<p>In one of my activity which was filled randomly with unique values.<br>
Now I want this array to copied to next activity? <br>
How can be achieved? I have seen that there seems to be no option to carry it with<br></p>

<pre><code>Bundle b=new Bundle();
b.putIntArray("key", mainArray);
Intent i=new Intent(context, Class);
i.putExtras(b);
</code></pre>

<p>your help is needed…</p>
