Using edittext.setError() and Regex we can verify the input of the user in an edittext box, by identifying the pattern of the input text
and setting the error flag or discoloring the text whenever it did not comply to the required rule as email and currency. In the same way
as in the example we...
Hello everyone!
I use B4X and call this sub (located in B4XMainPage) from various modules:
Public Sub DBRF(ScanHere As B4XView, CallRoot As B4XView)
Public ThirdDialog As B4XDialog
ThirdDialog.Initialize(CallRoot)
ThirdDialog.BorderCornersRadius = 44
ThirdDialog.Title = "Debug...
The original code: https://www.b4x.com/android/forum/threads/inputdialog-function.52811/post-331242
I modified the code to be able to add two buttons, and receive the "Success" parameter to distinguish when the user tap on the positive button or cancel button.
Sub Button1_Click
Dim no As...
Hi everyone, how can implement the native input dialogs of Android in my app?
i found this code here, but i don't know how to convert it:
private void showForgotDialog(Context c) {
final EditText taskEditText = new EditText(c);
AlertDialog dialog = new AlertDialog.Builder(c)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.