I have a problem which is that the getStringExtra keeps return a null value. Why is that?
This is where the string is added:
EditText num = (EditText) findViewById(R.id.editText6);
String tnum = num.getText().toString();
Intent i = new Intent(this,ConfirmOrder.class);
i.putExtra("tablenum",tnum);
And this the part the string is extracted:
Intent i = getIntent();
String num = i.getStringExtra("tablenum");
make sure tnum varaible is not null, try this:
or
and