Actually, it's beacause the Object itself in the Adapter is a
Cursor ...
This could help you maybe.
Instead of :
String callno =
mContactList.getAdapter().getItem(position).toString();
I would try :
String callno =
mContactList.getAdapter().getItem(position).toString();
String callno =
((Curso
Thanks for help. i had solve that problem using cursor.i takeout data
direct from cursor.
but until i cant understand why its not working with adapter or listview.
once again thank you for help
On Mon, Mar 22, 2010 at 1:33 AM, alain wrote:
> I use the listener on the Listview this way :
>
>
I use the listener on the Listview this way :
getListView().setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView view, View arg1, int arg2,
long arg3) {
String item = (String) view.getItemAtPosition(arg2);
hiii when i want to retrive data from the list on the Onlistclick
event.using this code.
String callno = mContactList.getAdapter().getItem(position).toString();
its retrive bellow information.
android.content.contentresolver$cursorwrapperin...@43d4e598
but i want that String on which i click
What exactly not working?
On Mar 20, 2:34 pm, "Nandan ." wrote:
> its pass bellow information to another activity
>
> android.content.contentresolver$cursorwrapperin...@43d4e598
>
> plz help me
>
>
>
> On Sat, Mar 20, 2010 at 5:50 PM, Nandan . wrote:
> > Hiii
>
> > i had used Listview to display
its pass bellow information to another activity
android.content.contentresolver$cursorwrapperin...@43d4e598
plz help me
On Sat, Mar 20, 2010 at 5:50 PM, Nandan . wrote:
> Hiii
>
> i had used Listview to display phoneno from phonebook.now i want on the
> onListClick event just select the phonno
6 matches
Mail list logo