有人能告诉我为什么我没有在第二个活动中显示2号吗
我的主要活动:
Button bt = (Button) findViewById(R.id.bt);
    bt.setOnClickListener(new OnClickListener() {
        @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub
            Intent ii = new Intent(MainActivity.this, Main2Activity.class);
            Bundle b = new Bundle();
            b.putInt("key", 2);
            ii.putExtras(b);
            startActivity(ii);
            finish();
        }
    });
第二个活动:
TextView text = (TextView) findViewById(R.id.text);
    Bundle b = getIntent().getExtras();
    int value = b.getInt("key", 0);
    text.setText(value);
请告诉我有什么问题...