android: Consultation about blinking screen
<p>i try to make my screen blinking like this:</p>

<pre><code>for (int i=0;i&lt;10;i++)
        {
           targetView.setBackgroundColor(Color.BLUE);
           for (int j=0;j&lt;500;j++); //delay
           targetView.setBackgroundColor(Color.RED);
        }
</code></pre>

<p>but it wont work</p>
