-3

All my old apps are working fine in android. But during recent testing in the Android emulator with android Pie, I am stuck in the first page. I am not able to click. It shows on email field "Unverified Post".
I don't know what it means. So does anybody know what was updated in PIE?

I have checked the code but I can't find where the problem is.
And, what is "Unverified Post" that shows on email Textview?

Code:

findViewById(R.id.submit_btn).setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        findViewById(R.id.submit_btn).setEnabled(false);
        register();
    }
});

Image

enter image description here

java

validateform()

@JohnJoe in there validateform() is         
private boolean validateForm() {
    boolean result = true;
    if (TextUtils.isEmpty(firstNameEditText.getText().toString())) {
        firstNameEditText.setError("Required");
        result = false;
    } else if (firstNameEditText.getText().toString().length() < 3) {
        firstNameEditText.setError("Please enter first name");
        result = false;
    } else {
        firstNameEditText.setError(null);
    }
    if (TextUtils.isEmpty(lastNameEditText.getText().toString())) {
        lastNameEditText.setError("Required");
        result = false;
    } else if (lastNameEditText.getText().toString().length() < 3) {
        lastNameEditText.setError("Please enter last name");
        result = false;
    } else {
        lastNameEditText.setError(null);
    }

    if (TextUtils.isEmpty(emailEditText.getText().toString())) {
        emailEditText.setError("Required");
        //result = false;
    } else if (!isValidEmail(emailEditText.getText().toString())) {
        emailEditText.setError("Please enter valid email");
       // result = false;
    } else {
       // emailEditText.setError(null);
    }
    return result;
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
RaviJK
  • 21
  • 8

1 Answers1

0

thank you guys for clearing ways Just Removed Current Email Validation and replace with another method! not found the right solution for the now.

RaviJK
  • 21
  • 8