I've been trying to get an answer here with various posts. But now maybe this post is articulated in a better way.
I would like to do the following. Unfortunately, no one was willing to actually show me the bit of code that would do this
PS: It doesn't have to be a text_changed, it can be a dialog box, but, the keypad needs to open as soon as a button is pressed with one click, not two.
bodycode
I would like to do the following. Unfortunately, no one was willing to actually show me the bit of code that would do this
- Click a button that immediately opens a NUMERIC-only dialog box AND numeric keyboard simultaneously (that is a pre-req, because no one wants to click something twice to get to a numeric keyboard, especially if it's submitted on google play, right?)
- Assign the input, to a double-type variable for calculations.
- Get the input checked for numeric-only, min and max value of numbers, AND to dis-allow an input starting with any input, that would not be a numeric.
- Ideally, have a completely filtered input, which only allows an input from 1 to 1000, disallowing a minus sign or any other starting value that will crash a try catch for numeric assign to a double-type variable.
PS: It doesn't have to be a text_changed, it can be a dialog box, but, the keypad needs to open as soon as a button is pressed with one click, not two.
bodycode