Parcelable custom handler, message never received
问题 I want to parcelable a Handler object to send it by a Bundle from one Activity to a service in order to get some info from this service. Right now, to test it it's a simple message. Here's the code in the Activity: private MyHandler mHandlerSharing = new MyHandler() { public void handleMessage(Message msg) { // this line in the Activity is never reached when debugging String data = msg.getData().getString("data"); Toast.makeText(mContext, data, Toast.LENGTH_SHORT).show(); } }; // in some