passing array by calling activity from a thread
<p>Hello 
I have two activities:</p>

<ol>
<li><p>"a" that spawns thread for generating a dynamic array of values inside <code>public void run()</code> function.</p></li>
<li><p>"b", graphics activity that will help me draw rectangular pulses based on array values calculated in activity "a" (calculated in a's thread to be precise).</p></li>
</ol>

<p>When I am in thread inside "a",  how do I pass values of array to activity "b" and 
call activity as well. </p>

<pre><code>activity a
{
    thread - array calculation,
    call activity b,
    pass array values,
    call another activity
}


activity b
{
    store array values from activity a,
    draw rectangles based on array values
}
</code></pre>
