android native field
Posted: Wed Nov 24, 2021 4:50 pm
hi, i was trying to use an android native text entry field but when i run the app on my mobile it doesn't work (obviously also on my computer), i share with you the code
any ideas? thanks!
Code: Select all
on mouseUp
CheckIfEmptyOrExists
end mouseUp
on CheckIfEmptyOrExists
if the environment is "mobile" then
if widget "EnterUsername" is empty
then
answer"you didn't type!"
else
PutUsernameIntoGlobal
CheckIfUserExistsSQL
hide image "EnterField"
hide widget "EnterUsername"
hide me
show field "UserName"
EnableAll
end if
end if
end CheckIfEmptyOrExists