Get phone number from contact loader in android: projection crash
问题 I am using the sample code from the Google tutorial. The projection is where I specify the data I want to collect. How do I specify that I want the phone numbers ? The sample from Google does not get phone number. But I want to obtain the phone number, so I add the field for Phone.NUMBER . But when I do, the app always crashes. Here is my projection. // The projection for the CursorLoader query. This is a list of columns that the Contacts // Provider should return in the Cursor. @SuppressLint