Saturday, July 17, 2010

Re: [android-developers] "When" are the overlays drawn on the map?

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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate