Fragment:
Intent intent = new Intent(getActivity().getApplicationContext(), Activity.class);
Bundle bundle = new Bundle();
b.putString("name", "张三");
b.putInt("ege", "22");
intent.putExtras(b);
//这里一定要获取到所在Activity再startActivity();
getActivity().startActivity(intent);
Activity:
Intent intent = getIntent();
String name = intent.getStringExtra("name");
int age = intent.getIntExtra("age");