posted 13 years ago
Hello
I'm working my way through the tutorials on the Android website, I'm looking at the contacts manager
I've also checked out the sample code for this.
I am trying to use managedQuery to obtain various columns of data, such as name, email, postal code.
I have the following snippet of code for doing this, but its currently throwing an error in eclipse
The error that I can gather from LogCat is as follows, not sure how relevant it is to this issue :
I've checked the documenation/examples on the documentation website, but it seems it is out of date (suggests to use deprecated methods and such)
Can anyone please help me with the above code snippet? I can get it to work if I only display ContactsContract.Contacts.DISPLAY_NAME
Regards