Android Question Ask for a question without using EditText

Vinians2006

Active Member
Licensed User
Longtime User
Hi friends!
Im creating a app where I need to ask for a name, a string. Is there any way to get a string from keyboard without use of a view like textedit? I dont want to create another activity only to do that. In some languages we have a InputBox(), what about B4A ? Thanks!
 

barx

Well-Known Member
Licensed User
Longtime User
You can use the InputDialog. It is part of the Dialogs library. Or create a panel with a edittext on and show it when needed
 
Upvote 0

Straker

Active Member
Licensed User
Longtime User
Just use the search tool. Dialogs library.
 
Upvote 0

WAZUMBi

Well-Known Member
Licensed User
Longtime User
InputDialog is great. Jusf out of curiosity why do you need a separate activity for editText?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…