android 中主线程给子线程发消息
public class MainActivity extends Activity { private Handler mHandler; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // TODO 主线程向子线程发一个消息 setContentView(R.layout.activity_main); new Thread(ne