!7 set flag Android. p { final EditText tvEmail = aTextInput(androidAssistant_userEmail()); final EditText tvPW = aPasswordInput(); final TextView tvResult = aFontSize(20, aForeground(aRed(), aCenteredTextView())); aShow(aVerticalStack( aForeground(aBlack(), aBold(aFontSize(24, aCenteredTextView("Log in to your assistant!")))), aVerticalSpacer(25), tvResult, aVerticalSpacer(25), aBold(aFontSize(20, aCenteredTextView("Your e-mail address:"))), aCenterTextView(tvEmail), aVerticalSpacer(25), aFontSize(20, aCenteredTextView("Password:")), aCenterTextView(tvPW), aVerticalSpacer(30), aButton("Log in", r { fS mail = trim(aGetText(tvEmail)); if (empty(mail)) ret with aSetText(tvResult, "Please enter your e-mail address"); if (!isValidEmailAddress_simple(mail)) ret with aSetText(tvResult, "Invalid e-mail address"); S pw = trim(aGetText(tvPW)); saveTextFile(androidAssistant_userEmailFile(), mail); if (empty(pw)) ret with aSetText(tvResult, "Please enter the password!"); fS hash = assistant_hashPassword(pw); saveTextFile(androidAssistant_hashedPWFile(), hash); final Button btn = heldInstance(Button); thread { temp aTempDisable(btn); temp aTempSetText(btn, "Logging in..."); aSetText(tvResult, postPage("http://botcompany.de:8083/checkPW", email := mail, pwHash := hash)); } }))); }