How to get contacts in order of their upcoming birthdays?

后端 未结 5 1244
误落风尘
误落风尘 2020-12-15 12:45

I have code to read contact details and to read birthdays. But how do I get a list of contacts in order of their upcoming birthday?

For a single contact identified b

5条回答
  •  执念已碎
    2020-12-15 13:12

    Modify the sort parameter in your invocation of query() in getList(). Currently it is set to DISPLAY_NAME. Try TYPE_BIRTHDAY.

提交回复
热议问题