I have written a application similar to Contacts in android. I have a few items in my list , when I click them , I get the information from a data base and display in another vi
Long l = Long.parseLong(name);
is the problem..
String nameclicked = adapterView.getItemAtPosition(position) .toString();
here nameclicked is a string
you are sending a string value and trying to parse it to number format. So can i know why you are parsing nameClicked?