I have three Integers that are the index values of drawables in another file. Now that I have them in a bundle, how to I retrieve them from another activity? Below is code from the sending activity.
Bundle b = new Bundle();
b.putInt("headIndex", headIndex);
b.putInt("bodyIndex", bodyIndex);
b.putInt("legIndex", legIndex);
final Intent intent = new Intent(this, AndroidMeActivity.class);
intent.putExtras(b);
Button btnNext = (Button) findViewById(R.id.btnNext);
btnNext.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view){
startActivity(intent);
}
});