通过Bundle传递不同Intent之间的原始数据
Intent intent = new Intent(MainActivity.this, AnotherActivity.class);
Bundle bundle = new Bundle();
double height = 12.6f;
String sex = "femail";
bundle.putDouble("height", height);
bundle.putString("sex", sex);
intent.putExtras(bundle);
startActivity(intent);
Intent intent = getIntent();
Bundle bundle = intent.getExtras();
String sex = bundle.getString("sex");
double height = bundle.getDouble("height");
Log.d(TAG, String.valueOf(bundle));