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...