开发者

not getting the value from contacts contract

i am using contacts contract to take the phone number and name from the phone contacts... how can i take the value(the开发者_运维技巧 name and number) of a particular contacts into a variable.....i tried a lot but i was only able to display "DISPLAY_NAME and DATA_1".....


You can take a look at the tutorial at http://www.app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/ which covers how to query all contacts and basic information like the name or phone number for these contacts.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜