i have 3 Activity in my application and i'm reaching a activity either with a bundle and without bundle and i'm trying to check the bundle null or not. If it's null, open activity, if it's not null write the value to edittext.
here is my code.
Bundle veriAl = getIntent().getExtras();
EditText who_detail = (EditText)findViewById(R.id.who_detail);
String gelen_deger = veriAl.getString("reply_user").toString();
if(gelen_deger.equals(""))
{
who_detail.setText(veriAl.getString("reply_user"));
}