> No, he's posting it as a Runnable to a Handler, it looks like. Yeah, there's a lot of that going around, and it causes a lot of confusion. Stupid to use a Thread when a Runnable will do, but that's the way it is in some examples on the net, and those examples keep getting copied.
And, of course, since it's not a separate thread (though the OP probably thinks it is), the sleep call holds up the UI. Not a nice thing to do. On Oct 22, 2:59 pm, TreKing <[email protected]> wrote: > On Fri, Oct 22, 2010 at 8:02 AM, MarcoCanali <[email protected]> wrote: > > The Service Work in Right mode but the other activity of application don't > > respond to command ...from the sleep command add !! > > None of this makes any sense to me. > > > Someone have an Idea of problem with Thread process, the sleep method > > intact the Application main core i think !!! > > None of this makes any sense to me either. > > On Fri, Oct 22, 2010 at 8:34 AM, Prakash Iyer <[email protected]> wrote: > > Don't you need to start the thread? > > No, he's posting it as a Runnable to a Handler, it looks like. > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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

