title: Put an object in Handler message
body: <p>I need to download an image from the internet,
  in a different thread,<br>
  and then send that image object in the handler message, to the UI thread.  </p>
  
  <p>I already have this:  </p>
  
  <pre><code>...
  Message msg = Message.obtain();
  
  Bundle b = new Bundle();
  b.putParcelable("MyObject", (Parcelable) object);
  msg.setData(b);
  
  handler.sendMessage(msg);
  </code></pre>
  
  <p>And when I receive this message,
  I want to extract the object:  </p>
  
  <pre><code>...
  public void handleMessage(Message msg) {
      super.handleMessage(msg);
  
      MyObject objectRcvd = (MyObject) msg.getData().getParcelable("IpTile");
      addToCache(ipTile);
      mapView.invalidate();
  }
  </code></pre>
  
  <p>But this is giving me:  </p>
  
  <pre><code>...java.lang.ClassCastException...
  </code></pre>
  
  <p>Can anyone help?    </p>
  
  <p>And by the way, is this the most efficient way<br>
  to pass an object to the UI Thread?  </p>
  
  <p>Thank you all!</p>