-1

I have been trying to connect to a mysql database and it was succesfull. In the onPostExecute method, I get a result which seems to me exactly the same as the real input. In this example the emailadress jb@jb.jb. Logcat shows both the real input as the result. Yet my code doesn't agree that it is the same. Any advice?

EDIT: This link apparently gave the answer: answer on the question

Code Logcat output

Community
  • 1
  • 1
VanpeltJ
  • 21
  • 7

1 Answers1

2

You have to use String.equals() instead of == to compare Strings. check this link

Community
  • 1
  • 1
Emil
  • 2,786
  • 20
  • 24