nic
nic

Reputation: 51

Can't see candidates in Sample SoftKeyboard android IME

When I use the Sample SoftKeyboard given in the Android samples, no candidates(word suggestions) are generated as with the normal keyboard. Why is this? How do I get the word suggestions? I am trying to implement my own IME by modifying the sample soft keyboard, but need word predictions.

Do I have to provide the Candidate View class with a word&frequency list and if so how do I go about doing that?

Upvotes: 1

Views: 1436

Answers (1)

g00dy
g00dy

Reputation: 6778

There's a tut about that, which also includes the candidate detection (check the [LINK]). Also to be known, "suggestions" are enabled by default on all text areas, but will obey the global setting, so an app can't forcibly enable suggestions in any way. If you have the global setting turned off, they're off everywhere. So, you can see if this option isn't turned off in your case too.

Upvotes: 1

Related Questions