I am using Notify for user to input 1,2,3, or 4. How can I force for the numeric keyboard to appear for input for the Notify block?
I would suggest you check out this extension:
Alternatively, use a List Picker with Elements 1,2,3,4
That was the alternative but I just wanted to know if there was a way for Notify to do it. Thanks for your response.
An alternative using Notifier, four Buttons, TableArrangement and a TextBox (to accept the input). Initially set the TableArrangement as hidden (Visible = False)
Select 3
3 entered in TextBox and Button 'keyboard' closes.
Regards,
Steve
Thank you for the alternative. I was hoping there was a simple way to instruct Notifier to use the numeric keyboard, but seems that is not the case. I think I will use a Spinner instead.
I know that this is an old thread, but since I have a similar question and I found this, I thought I do not open a new one. Please let me know if this is not appropriate and I move my comment/question to start a separate discussion.
I understand that choosing from a limited option (1,2,3,4), a spinner is more appropriate, but since the original question was about limiting the keypad for a notifier user input and my goal is also to get only numerical answers, I was trying the following.

It seems to work in only accepting numerical inputs in moving forward, but I wanted to double check (and share my approach).
Probably it would also be good to add an alert notifier in an "else" part if the user input is not accepted.
Remark: This approach does not accept decimal comma instead of decimal point though, but since I am only interested in integers (which I filter out later), I do not really mind.
Thank you, but I do not want to use extensions since I want to keep the option open to make it available on iphones.
At the moment I have problem with the notifier working differently on android and iphone, but it is a separate issue and I want to experiment before I ask a question about it.
An alternative might be to just use a textbox and a button inside an arrangement that appears either at the top of the screen or somewhere on the screen that suits. This will, of course, push other content up/down. You could also just hide everything else and only show the textbox arrangement.
Herewith an example:
getInteger.aia (3.3 KB)
This is very nice!
I know it is not first (or even second or third) priority, but maybe the MIT App Inventor developers could add a new block to notifier, for example called "ShowNumericDialog" which would work as the text dialog with the number keypad displayed instead of the normal keypad.
This would improve user experience when they are asked to enter a numeric value.
A block with the same functionality as setting the "NumbersOnly" flag for a textbox would also be helpful for the ShowPasswordDialog block of the notifier (in case the app is asking for a PIN instead of a password). Alternatively, this can be achieved with a new block called for example as "ShowPinDialog" with the same functionality as the password dialog, only with the number keypad displayed instead of the general keypad.
I know that all these can be achieved as workarounds mentioned above, but a popup window would improve user experience by using the standard layouts of the operating system (in addition to of course simplifying the task of the app developers like me by asking to do extra work from the MIT App Inventor developers).

