String logintatus = WebServiceHelper.authenticateUser(username, password);
System.out.println("<<<<<<<< loginstatus >>>>>>"+logintatus);
if(username.equals("")){
AlertDialog.Builder alertLogout = new AlertDialog.Builder(v.getContext());
alertLogout.setTitle("Login details");
alertLogout.setMessage("Username not specified.");
alertLogout.setPositiveButton("Ok", new DialogInterface.OnClickListener(){
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
});
alertLogout.show();
}
1 comments:
Your post have the information that is help full and very informative. I would like you to keep up the good work you know how to make your post understandable for most of the people.
Thumbs up and Thanks.