简体   繁体   中英

Android Softkeyboard predictive text

I am trying to get the list of all predictive words based on user input I am using android Softkeyboard sample any idea how should I move on

Regards Saurabh

Store all the words in a SQLite databse.Thenfor each keypress look for word in database starting with composing text through cursor using like statement and store them in a list. Show this list to the candidate view and you are done :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM