thread without loop gives different result depend on android versions
<p>I'm building an app to handle calls, for that I call intent (action_call) for start calling and then I start a new thread, in this thread I'm trying to stay in my app during the call, I manage to do that in version 2.3.5 but on 4.0.4 it takes me to the android phone.
can someone explain me why or give me a solution for that?</p>

<p>in my thread (this works for 2.3.5 but not for 4.0.4)</p>

<pre><code>final Activity my = (Activity) context;
 my.runOnUiThread(new Runnable() {  
   public void run() {
 my.startActivity(intent);
}
 });
</code></pre>

<p>I tried adding a loop, then I can see my app screen but I get no response if I touch any button (or more accurately my app closes )</p>
