开发者

not getting the value from contacts contract

开发者 https://www.devze.com 2023-02-16 18:27 出处:网络
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 tr

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

精彩评论

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

关注公众号