A
A
Alexey Dubinin2017-09-28 19:31:47
Classmates
Alexey Dubinin, 2017-09-28 19:31:47

How to get birthday information using the android.provider.ContactsContract class?

Usually this date is stored in ContactsContract.CommonDataKinds.Event.START_DATE
To select Ok contacts I use ContactsContract.RawContacts.ACCOUNT_TYPE="en.ok.android"
This information is provided by vk and google and skype, etc.
But ok did not find this. Going through its MIMETYPE got only this:
ru.ok.android vnd.android.cursor.item/name
ru.ok.android vnd.android.cursor.item/vnd.ru.ok.android.profile
ru.ok.android vnd. android.cursor.item/vnd.ru.ok.android.messages
ru.ok.android vnd.android.cursor.item/photo
but I didn't find the vnd.android.cursor.item/contact_event
I need. Is it possible to fish it out somehow? this information?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2017-10-02
@dubok79

Indeed, at the moment, this data is not available in contacts from OK. Looks like a glitch, the request has been forwarded to the appropriate team

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question