This not a integer value its a string so compare it like as
Use the below function in your condition:
if(!(CK.equals(uid))){
Intent intent = new Intent(LoginActivity.this,
MainActivity.class);
startActivity(intent);
finish();
}
0
solved What is the probleme please ? [duplicate]