Well I solved all the problems and used a trick (learned from Erel) to speed up the search.
The search takes place not only if the word begins with the characters entered, but also if the port contains the characters entered internally
Of the type: List.IndexOF(TypedText)>-1
Depends on the XUI and SQL libraries.
I will soon publish the library for B4A.
I already created and works on the B4I version, but I'm not entirely convinced of publishing it.