[android-developers] Re: Help using autocomplete in my database.....

2009-03-20 Thread roland
Hi, you don't need to modify bindView and convertToString, just conserve the variable columnIndex, because in the constructor of MyCursorAdpter you can pass which column index you want to search. So you just need to modify the sql query in runQueryOnBackgroundThread, replace the name with _id.

[android-developers] Re: Help using autocomplete in my database.....

2009-03-17 Thread aljo
Thanks... your program worked... Thank you for your help... Just one question... If what I understand is correct, your program queries only the first column of the table... If I query the second column which is the _id column, it still looks into the name column and displays the content of the

[android-developers] Re: Help using autocomplete in my database.....

2009-03-13 Thread roland
Hi, i made a sample of using a AutoCompleteTextView to showing names which are saved in a database. Here is the link of project: http://0467525716.free.fr/Android/AutocompleteTest.zip I hope it helps. On 10 mar, 04:26, aljo aljochim...@gmail.com wrote: i already saw that thread but i still

[android-developers] Re: Help using autocomplete in my database.....

2009-03-09 Thread aljo
i already saw that thread but i still can't understand some of the codes... i don't know how to incorporate my database in that code... how can i import my db... public ContactListAdapter(Context context, Cursor c) { super(context, c); Log.d(exp,

[android-developers] Re: Help using autocomplete in my database.....

2009-03-05 Thread roland
Check this out, http://groups.google.com/group/android-developers/browse_thread/thread/aee4be30ed6c737b/268dcd8155a059b3?lnk=gstq=autocomplete#268dcd8155a059b3 On 4 mar, 07:22, aljo aljochim...@gmail.com wrote: i'm kinda new to this android application and still a newbei to programming so hope