You are currently only checking the value once the activity is created, at which point the EditText is empty.
You need to check the value each time the Text gets changed, so take a look at this and put your current code to start the activity into the afterTextChanged method
CLICK HERE to find out more related problems solutions.