On Wed, Apr 8, 2009 at 6:51 AM, Ask <[email protected]> wrote: > yess right, in short i was trying to instantiate a view comp. > Still not clear logic for using Looper. > might be Google engineers can answer this.
Do it on the main thread. If you want to actually run UI on another thread, read up on Looper and Handler, do all the stuff such as calling Looper.prepare() in your thread, and then redesign your thread logic to be messages based on not do work more than a few seconds and all of the other constraints on a thread that is running UI. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

