Guest User

Untitled

a guest
Jul 1st, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. if (getCheckEmailFromServer == true || getCheckNameFormServer == true || getCheckNumberFormServer == true);
  2. {
  3. Intent nextActivity = new Intent(this, GiftHomeActivity.class);
  4. startActivity(nextActivity);
  5. }
  6. else
  7. {
  8. if (getCheckEmailFromServer == false)
  9. {
  10. emailHint.setText("You enter wrong Email. Please, try again.");
  11. }
  12. else if (getCheckNameFormServer == false)
  13. {
  14. nameHint.setText("You enter wrong name");
  15. }
  16. else if(getCheckNumberFormServer==false)
  17. {
  18. numberHint.setText("You enter wrong number");
  19. }
  20.  
  21. }
  22.  
  23. }
  24. catch (IOException e)
  25. {
  26. e.printStackTrace();
  27. }
  28.  
  29. }
  30. }
Add Comment
Please, Sign In to add comment