Collected data by service and synchronous ui update
<p>I have to collect data in an long running operation - could take some hours. The data I collect by IntentService and have to update an UI Component synchronous by the data.
I implemented a Handler and made it known to the service. The Handler receives the collected data, but the ui is not updated.
Here my Handler's code:</p>

<pre><code>protected Handler handler = new Handler(){

    @Override
    public synchronized void handleMessage(final Message msg) {
        Log.d(TAG_IMAGE_ACTIVITY, "vom service " + msg.arg1);
        circleView.calculateX_Coord(msg.arg1);
        circleView.invalidate();
    }

};
</code></pre>

<p>The circleView is a View added to Activity's layout. I hopped by calling the invalidate methode to call the view's onDraw method. But the onDraw method is never called. </p>

<p>Any hint would be appreciated. Many thanks
anko</p>
