1
Activity myActivity = AssumeSomeActivityExists();
Intent openActivity = new Intent();
openActivity.setAction(Intent.ACTION_VIEW);
openActivity.setClass(myActivity,B.class);
myActivity.startActivity(openActivity);
當我們做一些像上面如何使B
實例知道它被調用,並通過活動myActivity
產生的?活動到活動通信