last day (14 days later) » 

11:04 AM
0
A: how to make autocomplete or autosuggest in android?

Nitesh SinghAs you are checking the searching string in the whole string(name), so if it founds the serching string anywhere in the name then it adds to the resut. So Use this String newName = name.subString(indexOf('('),name.lastIndexOf(')')); if (newName.toLowerCase(locale).contains...

 
wait I will update you in 5 min
 
I have edited the answer , plz look.
 
it is not working ..do you have any id ..it is not filtering not with as name not with code now ..:(
 
I have editted the answer...
 
sing sorry ....didn't work could I send you codee ?please check update
 
11:04 AM
yes, please send.
 
@nitesh do you have id
please send id
 
Email ID - fachzero@gmail.com
plz send on the above email
 
thanks
please check mail
did you find code ?
 
yes pallavi, I am importing...
 
thanks.if you find difficulty to undertant I will explain
 
11:15 AM
okay
 
Appliacationload.java is first activity
 
okay
 
11:39 AM
you are using Locale , any need of this?
 
i don't know
I copy from google
local in customAdapterAutosuggest.java
CustomAutocompletAdapter.java
I copy from google
 
okay
 
12:13 PM
did you find any solution
?
 

last day (14 days later) »