Home > Mobile >  Android + PHP + Mysql to implement simple login server functions
Android + PHP + Mysql to implement simple login server functions

Time:10-05

If (TextUtils. IsEmpty (qq) | | TextUtils. IsEmpty (PSD)) {
Toast. MakeText (this, "the user and password cannot be empty", 0), show ();
return;

Has been an error, even not on the server, bosses help

CodePudding user response:

Toast. MakeText (this, "the user and password cannot be empty", 0), show ();

Changing the 0 to Toast. LENGHT_LONG or Toast. LENGHT_SHORT
  • Related