When you insert your Extras
trying adding .toString()
i.putExtra("Name", edt_name.getText().toString());
You are seeing the CharSequence
value in there but you need to convert it to a String
to call getStringExtra()
. Obviously, just do this for the Strings
. You see the correct value for your int
because that is done correctly