thanks, yeah I was doing a expensive operation in UI. I created a
AsyncTask and its working fine. Here is an example if anyone wants
http://www.screaming-penguin.com/node/7746


-vk

On Jul 17, 7:15 pm, Frank Weiss <fewe...@gmail.com> wrote:
> If the updates don't happen until the onCreate or onClickEventHandler
> methods return, first guess is you're misusing the UI thread. That is,
> the UI thread is busy in your while loop and can't get anything else
> done, like drawing the overlays. Welcome to UI programming!
>
> I strongly suggest you put you loop into an AsyncTask. and use its
> callback methods to update the UI. Read the docs carefully.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to