intent的使用:
intent用于启动另一活动。可传递数据
activity1启动:
Intent mintent=new Intent(getContext(),panelActivity.class);
String str= (String) v.getTag();
mintent.putExtra("key",str);
startActivity(mintent);
activity2
Intent it2 = getIntent();
String str = it2.getStringExtra("key");
finish();