Android Question Edit Text Suggestions

Rusty

Well-Known Member
Licensed User
Longtime User
I've reviewed many posts that all say that suggestions on Edit Texts can be suppressed. I've tried all the examples and none work.
My tablet is Ice Cream Sandwich. Is this a problem?
If not, any suggestion is greatly appreciated. I was able to get password obfuscation to work, but I need for the user to be able to see what he is typing.
The following are two examples of what I have tried

B4X:
inputText.InputType = Bit.Or(InputText.InputType, 524288)         'InputText is the EditText
inputText.InputType = Bit.Or(inputText.INPUT_TYPE_TEXT, 524288)
Thanks,
Rusty
 

Rusty

Well-Known Member
Licensed User
Longtime User
Thanks Eric,
I've tried this, but it doesn't work.
I tried:
B4X:
InputText.InputType =  Bit.OR(InputText.InputType, 0x00080001)

also

InputText.InputType = Bit.OR(InputText.InputType, 524289)  (the decimal equivalent
Neither work.
I might also note that I am invoking the keyboard with the IME library
Any other ideas are greatly appreciated.
Rusty
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
WOW, I found a way to make it work...
Even thought the text is NOT email address data, I set the input type to
0x00000021

This allows the suggestions to NOT appear...
Also, I combined the
0x00002001 capitalize each word with the email setting and combined (0x00002021) they work to suppress the suggestions and to capitalize (proper case) the words as they are typed.
Thanks!
Rusty
 
Upvote 0
Top