I just want to test the toast message string 

> 
> Toast.makeText(LoginActivity.this, "" + response, Toast.LENGTH\_SHORT).show();
> 
> 
> 

something like that 

```
if ( response ="Success" ) {
openActivity1();
}else {
openActivity2();
}

```

I tested it with an if condition like that and it did not work for me.

Can anybody give me a suggestion?  

Thanks