Bypass Androids auto-complete for AutoCompleteEditText

devlei

Active Member
Licensed User
Longtime User
The new AutoCompleteEditText (ACET) is really great, but on my device (Samsung Galaxy S phone) the auto-complete feature (not sure what its proper name is) prevents each letter appearing in the ACET as I type on the OSKB. It first tries to do its own auto-complete thing until I select one of its choices.

How can I bypass this auto-complete feature so that as I type each letter it appears in the ACET immediately showing the items that match? I would like it to work like it does with the Emulator when one types on the pc keyboard.

Obviously this auto-complete is helpful when typing in EditText etc, so I don't want to permanently disable it, but only when in an ACET.
 

devlei

Active Member
Licensed User
Longtime User
I'm having trouble getting a screenshot. I followed the "How to make a Screenshot" tutorial, but get the error shown in the attachment. The error says, "Failed to get the adb version: Cannot run program 'adb' : CreateProcess error=2, The system cannot find the file specified."

I realise this error is not B4A issue, so will try to find an screenshot from the Samsung website that shows the little popup box with matching words that appears as one types on the OSKB.
 

Attachments

  • Dalvik Error.jpg
    21.1 KB · Views: 542
Upvote 0

devlei

Active Member
Licensed User
Longtime User
Is seems that little popup box is part of Swype's predictive text feature. Disabling the predictive text feature of Swype from the 'Locale and Text' section of Settings enables the AutoCompleteEditText to work 100% as it should.

I don't suppose it is possible to disable & enable this setting programatically from within a B4A app?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…