Hello I have two activities:
"a" that spawns thread for generating a dynamic array of values inside
public void run()
function."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).
When I am in thread inside "a", how do I pass values of array to activity "b" and call activity as well.
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
}