Take a peek at AsyncTask, it can help you easily (and correctly) transition between UI and background threads:
http://d.android.com/reference/android/os/AsyncTask.html j On Mon, May 4, 2009 at 10:02 AM, GiladH <gila...@gmail.com> wrote: > > Hey, > > I want to display a fancy 'loading' image at my app's startup time. > > The problem: my startup code is mostly GUI related, hence needs to run > on UI thread. > > Is there a way to do both - that is run UI-related code on UI thread > while an image > is displayed to the user? > > > GiladH > > > > > -- Jeff Sharkey jshar...@google.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---