Skip to content Skip to sidebar Skip to footer

Passing Intent Values And Retrieving Data From Sqlite Database

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 view.

Solution 1:

Long l = Long.parseLong(name);

is the problem..

Stringnameclicked= 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?

Post a Comment for "Passing Intent Values And Retrieving Data From Sqlite Database"