Professional Documents
Culture Documents
sms;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
//insert data
}else{
Toast.makeText(Signup.this, "user already exists",
Toast.LENGTH_SHORT).show();
}
//check if the user exists
}else{
Toast.makeText(Signup.this, "Password doesn't match",
Toast.LENGTH_SHORT).show();
}
//check if the password and confirm password are matching
}
//checking if any feild is empty or not
}
});
//click listener for register button
}
}