[android-developers] Re: Better Looper documentation, please ....

2009-07-09 Thread Richard Schilling
Very helpful. Thanks. Richard Schilling Root Wireless On Jun 24, 2:10 pm, Marco Nelissen wrote: > On Wed, Jun 24, 2009 at 1:44 PM, Richard Schilling > wrote: > > (...) > > > How does Looper know what handler class to send messages to?  And, > > where does it get its messages from in the firs

[android-developers] Re: Better Looper documentation, please ....

2009-06-24 Thread Marco Nelissen
On Wed, Jun 24, 2009 at 1:44 PM, Richard Schilling < richard.rootwirel...@gmail.com> wrote: (...) > How does Looper know what handler class to send messages to? And, where does it get its messages from in the first place? When I have a The message usually comes from Handler.obtainMessage(), a

[android-developers] Re: Better Looper documentation, please ....

2009-06-24 Thread Richard Schilling
Perhaps this will help, too get my questions answered: Of course, I see in http://developer.android.com/reference/android/os/Handler.html a description of how the handler is used from the application's main thread: "When a process is created for your application, its main thread is dedicated to

[android-developers] Re: Better Looper documentation, please ....

2009-06-24 Thread Richard Schilling
Beautiful. Thank you very much. > > 2. How does the Android phone use Looper to coordinate message > > > handling? > > Not sure what you mean by "coordinate" in this context. Apologies about being vague here. I'm trying to envision the call stack from the phone's perspective when it sends a me

[android-developers] Re: Better Looper documentation, please ....

2009-06-23 Thread Marco Nelissen
On Tue, Jun 23, 2009 at 2:43 PM, Richard Schilling < richard.rootwirel...@gmail.com> wrote: > > Trying to get my head around the specific ins/outs of the Looper > object and how it interacts with Threads. Documentation is rather > scant on this topic. This is one of those topics that is obvious