title: How the Looper knows to send the message to Handler?
body: <p>The question is, where I tell my Thread to use <strong>mHandler</strong> for the <strong>Looper</strong>?</p>
  
  <p>Thank you.
  I am using the below code:</p>
  
  <pre><code>class LooperThread extends Thread {
      public Handler mHandler;
      public void run() {
        Looper.prepare();
  
        mHandler = new Handler() {
            public void handleMessage(Message msg) {
                // process incoming messages here
            }
        };
  
        Looper.loop();
      }
  }
  </code></pre>