[android-developers] Re: AutoCompleteTextView: Need help.

2009-01-16 Thread Odessa Silverberg
You can also get the Cursor to the selected item by using Cursor c = (Cursor)parent.getItemAtPosition(position); and simply get the name by using String name = c.getString(nameColumIndex); On Jan 15, 11:22 pm, Andrew Stadler stad...@gmail.com wrote: Don- Here is one way to do this: In

[android-developers] Re: AutoCompleteTextView: Need help.

2009-01-15 Thread Andrew Stadler
Don- Here is one way to do this: In your activity declaration, add this interface: MyActivity extends Activity implements OnItemClickListener Then implement as follows: /** * Implements OnItemClickListener */ public void onItemClick(AdapterView? parent, View view, int