Gerrard Member Licensed User Longtime User Mar 31, 2015 #1 I have an app that needs the numbers 0 to 9 as well as the slash /. I have tried IME SetCustomFIlter but it does not activate the / on the numeric keyboard. Code: Copy IME.SetCustomFilter(edtText, edtText.INPUT_TYPE_NUMBERS, "0123456789/") I tried a "0123456789." and it activated the dot, but not the slash /. What can I do?
I have an app that needs the numbers 0 to 9 as well as the slash /. I have tried IME SetCustomFIlter but it does not activate the / on the numeric keyboard. Code: Copy IME.SetCustomFilter(edtText, edtText.INPUT_TYPE_NUMBERS, "0123456789/") I tried a "0123456789." and it activated the dot, but not the slash /. What can I do?
Erel B4X founder Staff member Licensed User Longtime User Apr 1, 2015 #2 There is no slash button in the numeric keypad. You can switch to INPUT_TYPE_TEXT. Upvote 0
Gerrard Member Licensed User Longtime User Apr 1, 2015 #3 Erel, I'm missing something here. Both my Samsung tablet and my Samsung phone show the / character as part of the numeric keyboard after pressing the 123 key to get the numeric keyboard. Yes, the INPUT_TYPE_TEXT does work. I tried it, but I don't want to use it because I wanted the numeric keyboard to come up, and did not want to have to press the 123 key to get the numeric keyboard. Upvote 0
Erel, I'm missing something here. Both my Samsung tablet and my Samsung phone show the / character as part of the numeric keyboard after pressing the 123 key to get the numeric keyboard. Yes, the INPUT_TYPE_TEXT does work. I tried it, but I don't want to use it because I wanted the numeric keyboard to come up, and did not want to have to press the 123 key to get the numeric keyboard.
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2015 #4 On the device I tested it there was no / button. Eventually it is up to the keyboard app to correctly manage the filter. There is not much that you can do about it. Upvote 0
On the device I tested it there was no / button. Eventually it is up to the keyboard app to correctly manage the filter. There is not much that you can do about it.