How to get the listitem text value when click on it?
问题 I have a listitem and I would like to get the clicked item text value. The following codes is not work for me. It work fine, When I change the following line: String fullname = (String) l.getItemAtPosition(position); To: String fullname = "Hello world"; Thanks for your help. @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); String fullname = (String) l.getItemAtPosition(position); Intent bucket = new Intent(SQLView